dahlb / ha_blueair

Home Assistant Integration for Blueair Class Filters
MIT License
25 stars 6 forks source link

Authentication error after system reboot #56

Closed FrenchieKing757 closed 7 months ago

FrenchieKing757 commented 7 months ago

Originally had an issue logging in after adding the integration. Tried restarting HA and deleting integration. Finally added the Blueair username and password manually instead of iOS Keychain. Today my system reboots every morning at 3am and it failed on restart. It was fine for 2 days. Not sure if it was because of the update to HA Core 2023.12.2. Using Raspberry Pi 4 with HAOS 11.2, Supervisor 2023.11.6

`Logger: homeassistant.config_entries Source: config_entries.py:402 First occurred: 3:34:06 AM (1 occurrences) Last logged: 3:34:06 AM

Error setting up entry for ha_blueair Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/ha_blueair/init.py", line 72, in async_setupentry , devices = await get_devices( ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/blueair_api/util_bootstrap.py", line 27, in get_devices api_devices = await api.get_devices() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/blueair_api/http_blueair.py", line 116, in get_devices "X-AUTH-TOKEN": await self.get_auth_token(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/blueair_api/http_blueair.py", line 42, in get_auth_token self.auth_token = await self._get_auth_token() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/blueair_api/http_blueair.py", line 100, in _get_auth_token raise LoginError("invalid password") blueair_api.errors.LoginError: invalid password ` IMG_0727

spikeygg commented 7 months ago

yeah, I'm seeing the same thing - I've opened a ticket for this yesterday: https://github.com/dahlb/ha_blueair/issues/55