fix bug in flux_led (#5373)
This commit is contained in:
parent
d8560a244c
commit
0bbb16626c
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue