Since I think 2025.1, one of my previously highly reliable and responsive template sensors seems to not been fully updating as it used to previously.
The template sensor listens for the ZB linkquality of all my ZB sensors, and counts how many have LQI < 50. In the Template sensor screen, the preview value = 2, which corresponds to the current position where 2 ZB sensors are below LQI 50. No issues here.
But when I go into more-info, the count is stuck at 1 and has been for ~12 hours. This “stuck” value is then what is displayed on my button (the entity is the template sensor), not the current value which the template sensor preview shows. It should ordinarily bounce around, similar to the middle section of the graph.
I need to restart HA for the sensor to show the real time value again - this works OK for a few hours, then something happens and it seems to get “stuck” at a certain value again.
Is there anything I should look at to work out what is happening and how to fix this?
Any help would be much appreciated.