From d7640e6ec3c8c35fba648e29c4895d065158b3c1 Mon Sep 17 00:00:00 2001 From: Greg Laabs Date: Fri, 18 May 2018 08:42:09 -0700 Subject: [PATCH] Fix some ISY sensors not getting detected as binary sensors (#14497) Sensors that were defined via sensor_string were not getting properly identified as binary sensors when they had a uom defining them as binary (the other three methods of detecting binary sensors worked though.) --- homeassistant/components/isy994.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/isy994.py b/homeassistant/components/isy994.py index 48a9499d1a9..ecabcd36a85 100644 --- a/homeassistant/components/isy994.py +++ b/homeassistant/components/isy994.py @@ -202,7 +202,7 @@ def _check_for_uom_id(hass: HomeAssistant, node, node_uom = set(map(str.lower, node.uom)) if uom_list: - if node_uom.intersection(NODE_FILTERS[single_domain]['uom']): + if node_uom.intersection(uom_list): hass.data[ISY994_NODES][single_domain].append(node) return True else: