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:
Install the latest version that includes this change
Produce updates for 1-2 minutes (e.g. trigger some inputs)
Test 1: disconnect the central unit and reconnect immediately
The integration is stuck, it should recover within 5 minutes
Produce updates for 1-2 minutes (e.g. trigger some inputs)
Test 2: disconnect the central unit and reconnect after 5-10 minutes
The integration is stuck, it should recover within 5 minutes
Extra Notes (optional):
n/a
Checklist
[x] Related issues and proposed changes are filled
[ ] Tests are defining the correct and expected behavior
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