mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Add X10 devices as ISY994 switches (#26342)
* Add X10 devices as switches Signed-off-by: Taylor Silva <taylorsilva@outlook.com> * Add logging message for when unsupported device is found. This will help a user figure out why they aren't seeing all devices. Signed-off-by: Taylor Silva <taylorsilva@outlook.com> * Update homeassistant/components/isy994/__init__.py Co-Authored-By: Martin Hjelmare <marhje52@kth.se> * Update homeassistant/components/isy994/__init__.py 100 is too generic of an ISY uom. We don't want to accidentally add non-switch devices.
This commit is contained in:
parent
2f0eb07624
commit
ca97bba4b4
@ -138,7 +138,7 @@ NODE_FILTERS = {
|
|||||||
"Siren",
|
"Siren",
|
||||||
"Siren_ADV",
|
"Siren_ADV",
|
||||||
],
|
],
|
||||||
"insteon_type": ["2.", "9.10.", "9.11."],
|
"insteon_type": ["2.", "9.10.", "9.11.", "113."],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -182,6 +182,7 @@ def _check_for_node_def(hass: HomeAssistant, node, single_domain: str = None) ->
|
|||||||
hass.data[ISY994_NODES][domain].append(node)
|
hass.data[ISY994_NODES][domain].append(node)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
_LOGGER.warning("Unsupported node: %s, type: %s", node.name, node.type)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user