This morning, the temperature didn’t update like it was supposed to. Trying to manually set it through Home Assistant wasn’t possible either (after a few seconds it reverted to its original set point). Had to reboot HA for it to talk to the hub again. Is there a way to know when that’s the case and alert me if so?
Thinking of writing an automation that would check hourly if it can set a thermostat to a different set temperature and alert me if it can’t or put it back to its original set point if it can but not sure how to go to write this automation.
I noticed you created the Neviweb custom component. Given that you have extensive knowledge of the component and the Neviweb API, how about creating a binary_sensor that reports the connection status? Basically, you need a “heartbeat” function, something that makes a periodic API call for some trivial data (I don’t know the Neviweb API but perhaps it offers some sort of call that quickly returns a very small amount of data). If the call fails to return a response within X seconds, it sets the binary_sensor to off. The binary_sensor’s state can be used to trigger an automation.