Skip to content

Commit

Permalink
Fix some ISY sensors not getting detected as binary sensors (#14497)
Browse files Browse the repository at this point in the history
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.)
  • Loading branch information
OverloadUT committed May 18, 2018
1 parent 12e76ef commit d7640e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/isy994.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d7640e6

Please sign in to comment.