fix bug in flux_led (#5373)
parent
372b54534a
commit
836eed2a15
|
@ -72,6 +72,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
continue
|
continue
|
||||||
device['name'] = device['id'] + " " + ipaddr
|
device['name'] = device['id'] + " " + ipaddr
|
||||||
device[ATTR_MODE] = 'rgbw'
|
device[ATTR_MODE] = 'rgbw'
|
||||||
|
device[CONF_PROTOCOL] = None
|
||||||
light = FluxLight(device)
|
light = FluxLight(device)
|
||||||
if light.is_valid:
|
if light.is_valid:
|
||||||
lights.append(light)
|
lights.append(light)
|
||||||
|
|
Loading…
Reference in New Issue