Hi, I wanted to dim my lights within a script after a light transition is complete (Or after 17 seconds). I recognized that “delay” stops the script and directly dims them. what would be a proper way to realize this?
Thanks
Kelvin
The delay step does not “stop” the script and directly dim the lights.
Thanks, I figured this out in the meanwhile. I think I come close to the problem now. What works is this script, in Isolation and also in the whole one:
Increasing Brightness and all around the color wheel, then decreasing brightness and again all around the color wheel. This works because initial and end state are pretty similar.
But when e.g. the “daylight mode” was active before, first the bright white light ocures, then instantly drops in brightness and then the sequence starts. Or (just experienced due to yet unknown reasons) only the white light increases in brightness without any colors.
Maybe there is an option that the light “forgets” the last status or sth like this.
Here the whole script, everything else works fine.
edit: Lights are connected in different ways. As normal Milights (as used here) but also via MQTT and as emulated Hues. MQTT should solve some issues, but hadnt the time yet to figure out how.