ISY994 Initial Setup - IndexError: list index out of range

Can anyone guide me on how to get the integration with Universal Devices ISY 994 working?

Situation:

Process:

  • Configuration > Add Integration > Universal Devices ISY994
  • Success - Created configuration for My Automation Devices (192.168.0.64)
  • Click Finish
  • See that ISY has been added to Home Assistant but with “Failed to Setup - Check the Logs”
  • Error setting up entry My Automation Devices (192.168.0.64) for isy994
  • Source: components/isy994/init.py:175
  • IndexError: list index out of range

Logfile

Logger: homeassistant.config_entries
Source: components/isy994/__init__.py:175
First occurred: 11:41:09 AM (3 occurrences)
Last logged: 12:27:39 PM

Error setting up entry My Automation Devices (192.168.0.64) for isy994
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/isy994/__init__.py", line 175, in async_setup_entry
    await isy.initialize()
  File "/usr/local/lib/python3.9/site-packages/pyisy/isy.py", line 138, in initialize
    self.nodes = Nodes(self, xml=isy_setup_results[2])
  File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/__init__.py", line 108, in __init__
    self.parse(xml)
  File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/__init__.py", line 380, in parse
    Group(
  File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/group.py", line 48, in __init__
    self._members_handlers = [
  File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/group.py", line 49, in <listcomp>
    self._nodes[m].status_events.subscribe(self.update_callback)
  File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/__init__.py", line 477, in __getitem__
    output = fun(val)
  File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/__init__.py", line 521, in get_by_index
    if self.ntypes[i] in [TAG_GROUP, TAG_NODE]:
IndexError: list index out of range

Can you enable debug logging and share back, I’m curious where it’s getting hung up (there have been some random issues with naming–like special characters–in the past, but haven’t seen anything recently.

# Add to configuration.yaml
logger:
  default: info
  logs:
    homeassistant.components.isy994: debug
    pyisy: debug

The error looks a little different to me now, but here’s what I think is the relevant part of the log:

2021-12-10 14:01:06 DEBUG (MainThread) [pyisy] ISY Request: http://192.168.0.64:80/rest/config
2021-12-10 14:01:06 DEBUG (MainThread) [pyisy] ISY Response Received.
2021-12-10 14:01:06 INFO (MainThread) [pyisy] ISY Loaded Configuration
2021-12-10 14:01:06 DEBUG (MainThread) [pyisy] ISY Request: http://192.168.0.64:80/rest/config
2021-12-10 14:01:06 DEBUG (MainThread) [pyisy] ISY Response Received.
2021-12-10 14:01:07 INFO (MainThread) [pyisy] ISY Loaded Configuration
2021-12-10 14:01:07 DEBUG (MainThread) [pyisy] ISY Request: http://192.168.0.64:80/rest/status
2021-12-10 14:01:07 DEBUG (MainThread) [pyisy] ISY Request: http://192.168.0.64:80/rest/time
2021-12-10 14:01:07 DEBUG (MainThread) [pyisy] ISY Request: http://192.168.0.64:80/rest/nodes?members=false
2021-12-10 14:01:07 DEBUG (MainThread) [pyisy] ISY Request: http://192.168.0.64:80/rest/programs?subfolders=true
2021-12-10 14:01:07 DEBUG (MainThread) [pyisy] ISY Request: http://192.168.0.64:80/rest/vars/definitions/1
2021-12-10 14:01:07 DEBUG (MainThread) [pyisy] ISY Request: http://192.168.0.64:80/rest/vars/definitions/2
2021-12-10 14:01:07 DEBUG (MainThread) [pyisy] ISY Request: http://192.168.0.64:80/rest/vars/get/1
2021-12-10 14:01:07 DEBUG (MainThread) [pyisy] ISY Request: http://192.168.0.64:80/rest/vars/get/2
2021-12-10 14:01:09 DEBUG (MainThread) [pyisy] ISY Response Received.
2021-12-10 14:01:11 DEBUG (MainThread) [pyisy] ISY Response Received.
2021-12-10 14:01:11 DEBUG (MainThread) [pyisy] ISY Response Received.
2021-12-10 14:01:11 DEBUG (MainThread) [pyisy] ISY Response Received.
2021-12-10 14:01:12 DEBUG (MainThread) [pyisy] ISY Response Received.
2021-12-10 14:01:12 DEBUG (MainThread) [pyisy] ISY Response Received.
2021-12-10 14:01:12 DEBUG (MainThread) [pyisy] ISY Response Received.
2021-12-10 14:01:12 DEBUG (MainThread) [pyisy] ISY Response Received.
2021-12-10 14:01:12 INFO (MainThread) [pyisy] ISY Loaded Clock Information
2021-12-10 14:01:12 DEBUG (MainThread) [pyisy] ISY Loaded folder
2021-12-10 14:01:13 DEBUG (MainThread) [pyisy] ISY Loaded node
2021-12-10 14:01:13 DEBUG (MainThread) [pyisy] Skipping root group flag=12 00:21:b9:00:f9:bc
2021-12-10 14:01:13 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry My Automation Devices (192.168.0.64) for isy994
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/isy994/__init__.py", line 175, in async_setup_entry
await isy.initialize()
File "/usr/local/lib/python3.9/site-packages/pyisy/isy.py", line 138, in initialize
self.nodes = Nodes(self, xml=isy_setup_results[2])
File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/__init__.py", line 108, in __init__
self.parse(xml)
File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/__init__.py", line 380, in parse
Group(
File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/group.py", line 48, in __init__
self._members_handlers = [
File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/group.py", line 49, in <listcomp>
self._nodes[m].status_events.subscribe(self.update_callback)
File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/__init__.py", line 477, in __getitem__
output = fun(val)
File "/usr/local/lib/python3.9/site-packages/pyisy/nodes/__init__.py", line 521, in get_by_index
if self.ntypes[i] in [TAG_GROUP, TAG_NODE]:
IndexError: list index out of range