OH2 formatting strings in basicUI


I’ve noticed that my string formatting is not applied when an item is updated in basicUI


Hall Sensor Battery: 46

instead of:

Hall Sensor Battery: 46 %


Number	Battery_Sensor_Hall	"Hall Sensor Battery: [%d %%]"	<battery> (GF_Hall,Battery)	{zwave="34:command=battery"}


Text item=Battery_Sensor_Hall labelcolor=[Battery_Sensor_Hall_LastUpdate=="Uninitialized"="lightgray",Battery_Sensor_Hall_LastUpdate>90="lightgray",>25="orange",>15="green",>5="orange",<=5="blue"] 

When the basicUI page is first loaded or the browser refreshed, you see the correct formatting applied, but when the item is dynamically updated (the item’s state changes whilst you’re looking at the page, no browser refresh) it loses the formatting.

Is this a (known) bug?

Yes, it is: https://github.com/eclipse/smarthome/issues/640