palazzem / ha-econnect-alarm

Home Assistant integration that provides a full-fledged Alarm Panel to control your Elmo/IESS alarm systems.
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

fix(collector): force an update when the integration fails an update #73

Closed palazzem closed 8 months ago

palazzem commented 8 months ago

Related Issues

Proposed Changes:

This change forces a full update when the last update failed. If that happens, very likely there is a connectivity error and there is a chance the backend considers the connection with the central unit gone. In that case, it resets last known IDs, causing the integration to not detect any new change as described in #51.

Testing:

Extra Notes (optional):

n/a

Checklist