HADashboard switch controlling Lifx effect

Hello everyone!

I’m setting up a HAD for the kids’ room and would like to add switches to turn on lifx effects, but I haven’t been able to figure out how to add LIGHT.LIFX_EFFECT_COLORLOOP to it.
Also how would I go about creating sliders for color temperature and hue?

Thanks in advance!

you can create sliders in HA and then you can use the slider widget to show those sliders in the dashboard.

https://github.com/home-assistant/appdaemon/blob/dev/DASHBOARD.md

here you can read how to create your dashboard and widgets.

Thanks! I did find that, but not how to trigger lifx effects, nor how to make a real slider. The dashboard instructions only gave a stepper (+ & - buttons).

i dont know how you trigger that effect in ha.

if it is a switch, you can use the switch if it is a scene or a script you can use that.

a real slider isnt there (yet) the stepper as you name it is identical from function.

Creating a script with the lifx effect worked!

livingroom_colorloop:
alias: 'Livingroom Colorloop effect'
sequence:
- service: light.lifx_effect_colorloop
data:
entity_id: group.livingroom_lights
brightness: 255
period: 1
transition: 1

Now how would I go about creating a hue picker?