core: Error setting up entry AttributeError: 'NoneType' object has no attribute 'status'
The problem
Since I updated to latest core the Hive integration ‘failed to set up’. It was working yesterday on 2023.1.5 but I updated this morning to 2023.1.7 and it fails at startup.
What version of Home Assistant Core has the issue?
core-2023.1.7
What was the last working version of Home Assistant Core?
core-2023.1.5
What type of installation are you running?
Home Assistant OS
Integration causing the issue
hive
Link to integration documentation on our website
https://www.home-assistant.io/integrations/hive
Diagnostics information
home-assistant_hive_2023-01-25T07-58-02.672Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2023-01-25 06:46:09.078 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry xxx@xxx for hive
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/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
await self.getDevices("No_ID")
File "/usr/local/lib/python3.10/site-packages/apyhiveapi/session.py", line 427, in getDevices
api_resp_d = await self.api.getAll()
File "/usr/local/lib/python3.10/site-packages/apyhiveapi/api/hive_async_api.py", line 147, in getAll
json_return.update({"original": resp.status})
AttributeError: 'NoneType' object has no attribute 'status'
Additional information
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 2
- Comments: 18
Yep, Hive app, and HA hive integration both now working.
Closing this as its not the integrations fault!
Maybe related:
Source: https://status.hivehome.com/incidents.html
Thanks for that info. Just reloaded and it is OK for me too 👍
I wouldn’t be surprised if Hives issues are actually Microsoft Azure issues (I have no idea if they use Azure, but its quite coincidental timing): https://status.azure.com/en-gb/status
Hopefully it will all come back up soon and we can close this.
Same issue here (reported in #86607, which I’ll close as a duplicate).
The problem isn’t related to the upgrade - my Home Assistant was on 2023.1.7 yesterday and was working properly and then stopped working overnight around 4am GMT. Presumably related to a change on Hive’s end.