I have a dummy widget where i connected a temperature Item. The dummy widget shows me like: 10.302848392 °C but i want 10.3 °C. I know i can check serverside format but then it shows nothing. I want use the Format field to Round the Value but i dont know and i dont find anything to use this field.
I tested “%.1f” but nothing is happen.
Does anyone knows how to use the Format Field in Dummy Config?
I have been struggling with this and even when I put the format in exactly as you show, it does not work. My widgets don’t show the data at all, just the label.
I’ve tried putting the format in the widget “format” setting, and also in the .items file, and neither seems to work. What else could I be missing?
Hard to find an answer here.
If the data (value) does not appear at all, it sounds that the item has no value.
In your first post you had the value “10.302848392”.
Now you have nothing?
I think the best way to come to a solution here, is to try it step by step.
define a new simple item
assign an integer to the item
show the value in OpenHab
format the value
change the value
You can add a slider in openhab to change the value directly in the GUI
I dont think it has something to do with the definition of the item but here’s my Item definition:
Number GroundFloor_MasterBathroom_Temperature "Badezimmer [%.1f °C]" <temperature> (GroundFloor_MasterBathroom, HomeTemperature, HomeTemperatureMAX)