Closed jeffschubert closed 2 years ago
I think I've got this fixed locally. Testing some more before committing and closing.
v1.0.4 just published detects and handles the case when the plugin can't connect to the Daikin API on start. It will now retry to connect to the api repeatedly (per the configured refresh interval) until it is successful.
Describe The Bug: If locations can't be retrieved from the api when initializing, an error is thrown later.
To Reproduce: Enter invalid credentials and the plug-in will fail to retrieve a token. Locations won't be retrieved and the error will be seen.
Expected behavior: The failure to get locations logged and initialization stopped appropriately.
Logs: