Pyhass / Hive-Custom-Component

A custom version of the home assistant hive component
MIT License
33 stars 17 forks source link

2FA enabled, but Failed to setup #139

Closed eggtastico closed 1 year ago

eggtastico commented 1 year ago

New install of the integration, but it is failing to setup. I am not getting a 2FA request to my phone or a request in HA, despite it being enabled in the app. Any ideas? Below is the log:-

File "/config/custom_components/hive/init.py", line 89, in async_setup_entry devices = await hive.session.startSession(hive_config) File "/usr/local/lib/python3.10/site-packages/apyhiveapi/session.py", line 503, in startSession File "/usr/local/lib/python3.10/site-packages/apyhiveapi/session.py", line 426, in getDevices await self.hiveRefreshTokens() File "/usr/local/lib/python3.10/site-packages/apyhiveapi/session.py", line 304, in hiveRefreshTokens File "/usr/local/lib/python3.10/site-packages/apyhiveapi/api/hive_auth_async.py", line 548, in refresh_token

eggtastico commented 1 year ago

Oddly after 2 days of trying it has decided to work & send me an auth code