#overlap light commands

7 messages · Page 1 of 1 (latest)

coral iris
#

If I have an automation that fades lights to one color/brightness, then to another, the lights flash the first brightness/color then immediately start to fade to the next setting. If I add a delay that matches the light.turn-on's transition: time between the light settings, then I actually get the transition.
Is this expected behavior?
In some ways, it makes sense, but in others, not so much.

rotund heart
#

transitions, like most things in home assistant, happen asynchronously - in an automation, HA will tell the light bulb to start running the transition, but as soon as the transition has started, HA will immediately continue on to the next step in the automation while the transition is still ongoing

#

the exact behaviour of what happens when you start a new transition while a transition is already running depends on the light bulb.

solemn wasp
#

Yup, it depends on bulb... For me, WiFi bulbs and Z2M bulbs behaving differently.

rotund heart
#

anyways, as you've already figured out - if you have two transitions that you want to run one after the other, putting a delay between them in the automation/script to wait for the first transition to complete is the simplest solution.

coral iris
#

OK, thanks.
I figured that out the painful way as the lights got far too bright far too fast this morning.
So long as this is the expected behavior, I can work around it, I just wanted to be sure it was expected.

#

I guess this can be tagged solved now. I don't see a way to do that myself, so I guess an admin needs to?