UOM is a list - not a string. (#3469)

This commit is contained in:
Teagan Glenn authored and Paulus Schoutsen committed 2016-09-21 08:03:26 -07:00
1 parent edf812c0ea
commit b9992a9914
1 file changed
+1 -1
+1 -1
View File
@@ -35,7 +35,7 @@ def setup_platform(hass, config: ConfigType,
for node in isy.filter_nodes(isy.NODES, units=UOM,
states=STATES):
if node.dimmable or node.uom == '51':
if node.dimmable or '51' in node.uom:
devices.append(ISYLightDevice(node))
add_devices(devices)