From ca97bba4b4e3d3523caf70ead6641f661fae1b59 Mon Sep 17 00:00:00 2001 From: Taylor Silva Date: Wed, 4 Sep 2019 01:00:20 -0400 Subject: [PATCH] Add X10 devices as ISY994 switches (#26342) * Add X10 devices as switches Signed-off-by: Taylor Silva * 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 * Update homeassistant/components/isy994/__init__.py Co-Authored-By: Martin Hjelmare * Update homeassistant/components/isy994/__init__.py 100 is too generic of an ISY uom. We don't want to accidentally add non-switch devices. --- homeassistant/components/isy994/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/isy994/__init__.py b/homeassistant/components/isy994/__init__.py index 407196532ef..e1d24fa5551 100644 --- a/homeassistant/components/isy994/__init__.py +++ b/homeassistant/components/isy994/__init__.py @@ -138,7 +138,7 @@ NODE_FILTERS = { "Siren", "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) return True + _LOGGER.warning("Unsupported node: %s, type: %s", node.name, node.type) return False