Setup on initialization is not working properly
Opened this issue · 0 comments
OldShaterhan commented
When I restart HA, Wellbeing has issues with starting. After reload - it works as expected.
from logs:
Logger: custom_components.wellbeing
Source: custom_components/wellbeing/api.py:325
Integration: Electrolux Wellbeing ([documentation](https://github.com/JohNan/homeassistant-wellbeing), [issues](https://github.com/JohNan/homeassistant-wellbeing/issues))
First occurred: 11 maja 2023 14:27:24 (1 occurrences)
Last logged: 11 maja 2023 14:27:24
Timeout error fetching information from https://api.delta.electrolux.com/api/Users/Login -
Logger: custom_components.wellbeing
Source: custom_components/wellbeing/__init__.py:50
Integration: Electrolux Wellbeing ([documentation](https://github.com/JohNan/homeassistant-wellbeing), [issues](https://github.com/JohNan/homeassistant-wellbeing/issues))
First occurred: 11 maja 2023 14:27:24 (1 occurrences)
Last logged: 11 maja 2023 14:27:24
Could not log in to WellBeing, argument of type 'NoneType' is not iterable
Logger: homeassistant.config_entries
Source: config_entries.py:411
First occurred: 11 maja 2023 14:27:24 (1 occurrences)
Last logged: 11 maja 2023 14:27:24
Config entry '*****@gmail.com' for wellbeing integration could not authenticate: None
//reload somewhere here
other errors, but unrelated.
I guess it is related with #40