mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
UOM is a list - not a string. (#3469)
This commit is contained in:
parent
edf812c0ea
commit
b9992a9914
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user