I installed OpenHab 2, i defined a Item:
Number VenkuTeplota “Teplota: [%.1f °C]”
For test purposes, I change this value every 30s by new random from rules, that is running by cron:
VenkuTeplota.postUpdate(20.0 + (25.0 - (Math::random * 50.0).intValue) / 10.0).
After first rule run, Basic GUI showed new value, but without unit (°C). After reload page in browser (F5), it is OK (value with unit), but only until first value change… What is wrong?