Hi Guys,
I am trying resolve some strange behaviour I am seeing after the UI receives an update via MQTT.
When I first open the UI, the data is shown correctly with the units. However after it receives an update it loses the unit data.
For example for Return Temperature the first reported value is 17.9 °C, but after the next update displayed value reverts to 17.90. I should add that the raw value being sent via MQTT is also 17.90, but this does not explain why it works properly first time round.
Also, if I refresh the page then the values and units are displayed correctly, but only until the next data update.
If I look at the same data on the Classic UI I do not see the same problem as above.
FYI my item definitions are as follows:
Number temp_supply “Supply Temperature [%.1f °C]” (temperature, GF_ManCave) {mqtt="<[mqttService:myHouse/services/hvac/unit1/temp:state:default]"}
Number humidity_supply “Supply Humidity [%.1f %%]” (temperature, GF_ManCave) {mqtt="<[mqttService:myHouse/services/hvac/unit1/humidity:state:default]"}
Number temp_return “Return Temperature [%.1f °C]” (temperature, GF_ManCave) {mqtt="<[mqttService:myHouse/services/hvac/unit1/temp2:state:default]"}
Any ideas what I can do to fix this?
Thanks,
Mike