Closed Nerwyn closed 8 months ago
Unfortunately this is something that happens on the thermostat side. The thermostats are VERY flaky and do drop connectivity. I have some safeguards in to reduce the frequency of this by being careful about not making too many connections, but unfortunately it is not something we can really control.
I'm going to close this as there's nothing I can really do about it, but I appreciate your feedback.
Fortunately it hasn't happened since I reported this bug, despite many Home Assistant update and router restarts since then. Thanks for all your hard work!
Sometimes when Home Assistant restarts, the thermostat device (in this case an Aprilaire 8840) becomes unavailable. An "Automation Connection Lost" message also appears on the thermostat screen. This has happened on integration versions 0.8.0 and 0.8.1.
This error appeared after restart before attempting to re-setup:
And when I tried deleting the entry and re-setting up without restarting the thermostat:
I've found that I am able to re-setup the device by deleting the entry in Home Assistant, restarting the thermostat by removing and replacing it from the wall, and then re-adding an entry for it in Home Assistant. So it is consistently fixable (hopefully, small sample size of 2/2 times in the last few weeks).