mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
fix bug in flux_led (#5373)
This commit is contained in:
committed by
Paulus Schoutsen
parent
d8560a244c
commit
0bbb16626c
@@ -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)
|
||||||
|
Reference in New Issue
Block a user