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?
![]()
the Item should be printed like: “-4.3°C” instead of “-4.33°C”
thanks for help
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?
![]()
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:
![]()
No direct display-state but just as easy with the quantity-state, like
![]()