Hi,
I’m starting to play with scripts and making one for gradually raising the brightness of an RGB strip with a wifi controller. It runs as intended, but the very first “turn on” command turns the strip on to whatever it was set to when it was last turned off.
So if it were set to purple and 100% brightness, this script turns it on to the last setting, then 20 seconds later it goes to level 2 brightness and continues running correctly from there.
Any ideas? The RGB wifi controller is set up as a “flux_led” type and works flawlessly except this one thing.
wake_up:
sequence:
- service: light.turn_on
data:
entity_id: light.led_strip
brightness: 1
hs_color: [10,100]
- delay:
seconds: 20
- service: light.turn_on
data:
entity_id: light.led_strip
brightness: 2
hs_color: [10,100]
- delay:
seconds: 20
- service: light.turn_on
data:
entity_id: light.led_strip
brightness: 3
hs_color: [10,100]
- delay:
seconds: 20
----continued