fix bug in flux_led (#5373)

pull/5384/head
Daniel Høyer Iversen 2017-01-17 06:52:12 +01:00 committed by Paulus Schoutsen
parent 372b54534a
commit 836eed2a15
1 changed files with 1 additions and 0 deletions

View File

@ -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)