core: Universal Devices ISY994 integration breaks when used on an ISY with UD's new ZWave board
The problem
Universal Devices’ new ZWave board (https://www.universal-devices.com/product/zmatter-z-wave-matter-module-for-polisy-beta/) gives all added ZWave devices a ZY prefix instead of a ZW prefix. This appears to break the Universal Devices ISY994 integration because it assumes this device is not a ZWave device:
2022-12-19 14:28:28.846 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Polisy (192.168.1.27) for isy994 Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 372, in async_setup result = await component.async_setup_entry(hass, self) File “/usr/src/homeassistant/homeassistant/components/isy994/init.py”, line 200, in async_setup_entry _categorize_nodes(hass_isy_data, isy.nodes, ignore_identifier, sensor_identifier) File “/usr/src/homeassistant/homeassistant/components/isy994/helpers.py”, line 316, in _categorize_nodes if _check_for_insteon_type(hass_isy_data, node): File “/usr/src/homeassistant/homeassistant/components/isy994/helpers.py”, line 115, in _check_for_insteon_type subnode_id = int(node.address.split(" ")[-1], 16) ValueError: invalid literal for int() with base 16: ‘ZY006_1’
What version of Home Assistant Core has the issue?
2022.12.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Universal Devices ISY994
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?
2022-12-19 14:28:28.846 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Polisy (192.168.1.27) for isy994
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 372, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/isy994/__init__.py", line 200, in async_setup_entry
_categorize_nodes(hass_isy_data, isy.nodes, ignore_identifier, sensor_identifier)
File "/usr/src/homeassistant/homeassistant/components/isy994/helpers.py", line 316, in _categorize_nodes
if _check_for_insteon_type(hass_isy_data, node):
File "/usr/src/homeassistant/homeassistant/components/isy994/helpers.py", line 115, in _check_for_insteon_type
subnode_id = int(node.address.split(" ")[-1], 16)
ValueError: invalid literal for int() with base 16: 'ZY006_1'
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (9 by maintainers)
@shbatm Yes, it also supports Zigbee. I don’t have any Zigbee devices yet, but I’ll be happy to report back if/when I do. Cheers.