Sometimes sitemap not updating


I see that sometimes my sitemap items aren’t updating. For example, I have a heater which could be ON or OFF. On boot (openhab initialization) I’m reading current status using MQTT. Sometimes in UI, I see that heater is ON (openhab recognize it in the logs as ON, and text in UI says that it is ON) but visually (switch and icon) it shows as OFF. Could you point me why I see such differece? Thanks

is the item a switch or text on the sitemap config