apetrycki / daikinskyport

API for accessing a DaikinOne+ Thermostat
60 stars 27 forks source link

Infinite retry loop when device is offline. #50

Closed pbaize closed 10 months ago

pbaize commented 1 year ago

When the thermostat is offline, the daikin api reports a 400 with a message in the body indicating the device offline.

The integration just proceeds with infinite re-auth and retry.

If this happens during startup, it will cause the integration startup to hang for 5 minutes until it is stopped by HA.

apetrycki commented 10 months ago

should be fixed in latest with async implementation and exception to catch offline devices