dahlb / ha_hatch

Home Assistant Integration for Hatch Rest Mini
MIT License
76 stars 16 forks source link

Light Entity stays on after manually turning off #119

Closed chelupa closed 1 week ago

chelupa commented 2 months ago

After Hatch Sleep app update, whenever I manually turn off the Rest+ (2nd Gen), the HA entity doesn't get updated that it's turned off. If I reload the integration, it will then recognize that it's off, but that will also turn off the light/sound

tmeekes commented 1 month ago

Same problem here. Seems that HA disconnects from the hatch server at some point and stops receiving polling updates. Requires an integration reload to resolve.

Only thing that I've noticed in the logs is an "unload entry" process... which then either seems to cause an mqtt disconnect or a credentials update.

Could hatch be blocking polling requests and considering it spam? There by breaking the connection?

dahlb commented 2 weeks ago

was this fixed by the ui threading issue fixed in 1.17.3?

tmeekes commented 2 weeks ago

Just installed it, so I'll report back in after testing it a bit!

tmeekes commented 1 week ago

So far the update seems to have resolved my problem.

tmeekes commented 1 week ago

This was working fine, but it seems broken with the latest update again... (1.20.0)

tmeekes commented 3 days ago

Continues to be broken in 1.20.3 @dahlb