Blockly displaystate

I want to get an item by its “displayState” instead of its “state”. but there is no “get displayState of Item” in blockly. whats the trick?

image

the Item should be printed like: “-4.3°C” instead of “-4.33°C”

thanks for help

Hi,
You can format the output yourself by rounding the numeric state according to your preferences. Example:
Block2512_diplay

1 Like

No direct display-state but just as easy with the quantity-state, like

image

1 Like