mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
fix bug in flux_led (#5373)
This commit is contained in:
parent
d8560a244c
commit
0bbb16626c
@ -72,6 +72,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
continue
|
||||
device['name'] = device['id'] + " " + ipaddr
|
||||
device[ATTR_MODE] = 'rgbw'
|
||||
device[CONF_PROTOCOL] = None
|
||||
light = FluxLight(device)
|
||||
if light.is_valid:
|
||||
lights.append(light)
|
||||
|
Loading…
x
Reference in New Issue
Block a user