Skip to content
Snippets Groups Projects
Commit f6811a85 authored by David Conley's avatar David Conley Committed by Paulus Schoutsen
Browse files

Allow custom_effect to be absent from Flux configuration (#21317)

* Allow custom_effect to be absent from Flux configuration

* set custom effect to none during setup
parent fbfa3d1a
No related branches found
No related tags found
No related merge requests found
......@@ -151,6 +151,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
device['name'] = '{} {}'.format(device['id'], ipaddr)
device[ATTR_MODE] = MODE_RGBW
device[CONF_PROTOCOL] = None
device[CONF_CUSTOM_EFFECT] = None
light = FluxLight(device)
lights.append(light)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment