ha-nest-protect
ha-nest-protect copied to clipboard
Implement reauth flow (reconfigure) on USER_LOGGED_OUT
The problem
So I'm getting Retrying setup: USER_LOGGED_OUT I imagine this is due to the cookie going stale, but what is the correct way of handling this other than delete and recreate? I would expect a Reconfigure option to go through the cookie setup again.
What version of this integration (ha-nest-protect) has the issue?
1e62797
What version of Home Assistant Core has the issue?
2023.2.5
Device / Model
No response
Diagnostics information
No response
Home Assistant log
Logs
USER_LOGGED_OUT Traceback (most recent call last): File "/config/custom_components/nest_protect/__init__.py", line 77, in async_setup_entry auth = await client.get_access_token_from_cookies(issue_token, cookies) File "/config/custom_components/nest_protect/pynest/client.py", line 159, in get_access_token_from_cookies raise Exception(result["error"]) Exception: USER_LOGGED_OUTAdditional information
It's been working fine for some time