Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

since Home assistant updates adding not working #160

Closed
NorthernMunkey opened this issue Nov 14, 2024 · 1 comment
Closed

since Home assistant updates adding not working #160

NorthernMunkey opened this issue Nov 14, 2024 · 1 comment

Comments

@NorthernMunkey
Copy link

Core 2024.11.1 Supervisor 2024.11.3
since one of these updates the addins fails to load

Logger: homeassistant.config_entries
Source: config_entries.py:635
First occurred: 11:49:26 AM (2 occurrences)
Last logged: 2:04:09 PM

Error setting up entry ConnectLife ([email protected]) for connectlife
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/connectlife/init.py", line 34, in async_setup_entry
await api.login()
File "/usr/local/lib/python3.12/site-packages/connectlife/api.py", line 66, in login
await self._fetch_access_token()
File "/usr/local/lib/python3.12/site-packages/connectlife/api.py", line 107, in _fetch_access_token
await self._initial_access_token()
File "/usr/local/lib/python3.12/site-packages/connectlife/api.py", line 125, in _initial_access_token
login_token = body["sessionInfo"]["cookieValue"]
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'cookieValue'

@oyvindwe
Copy link
Owner

oyvindwe commented Nov 14, 2024

This is not caused by Home Assistant update. See #157 - fixed in 0.20.2 - but you need to login using the app to consent to the new terms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants