home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.21k stars 31.16k forks source link

ISY Integration failing to start #132279

Open zanderl opened 8 hours ago

zanderl commented 8 hours ago

The problem

After an update to HA 2024.11.3 (from a rather old version), the ISY integration stopped working.

What version of Home Assistant Core has the issue?

core-2024.11.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Universal Devices ISY

Link to integration documentation on our website

https://www.home-assistant.io/integrations/isy994

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.config_entries
Source: config_entries.py:635
First occurred: 7:51:56 AM (1 occurrences)
Last logged: 7:51:56 AM

Error setting up entry My Lighting (172.16.0.246) for isy994
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 "/usr/src/homeassistant/homeassistant/components/isy994/__init__.py", line 105, in async_setup_entry
    await isy.initialize()
  File "/usr/local/lib/python3.12/site-packages/pyisy/isy.py", line 138, in initialize
    if self.configuration[CONFIG_NETWORKING] or self.configuration[CONFIG_PORTAL]:
                                                ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'Portal Integration - UDI

Additional information

No response

home-assistant[bot] commented 8 hours ago

Hey there @bdraco, @shbatm, mind taking a look at this issue as it has been labeled with an integration (isy994) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `isy994` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign isy994` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


isy994 documentation isy994 source (message by IssueLinks)

zanderl commented 7 hours ago

BTW - one other important detail is that I am running an ancient version of ISY. This was actually an ISY-99i Pro which was updated to look like an ISY-994 at some point, and this is the highest firmware available for my hardware.

Firmware v3.3.10