core: Hive integration not working in 2023.1.4 or 2023.1.7

The problem

First happened in 2023.1.4, tried reinstalling the integration, and still the same. Then upgraded to 2023.1.7 to see if that fixed it, but it’s still the same. I haven’t changed anything on my Hive account.

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 456, in getDevices
    self.config.homeID = api_resp_p[hiveType]["homes"][0]["id"]
IndexError: list index out of range

What version of Home Assistant Core has the issue?

Home Assistant 2023.1.4

What was the last working version of Home Assistant Core?

Home Assistant 2023.1.4

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

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 19 (3 by maintainers)

Most upvoted comments