I need to make a light transition through 4 or 5 states based on the time of the day (e.g. 30% at warm white at 6PM, 60% at a different color or temperature from 6- 7PM , 100% at x color/ temperature till 11 PM, off after 11)
Is there a way to achieve this without having to create 4 different automation entries - ideally via a single UI driven automation element or alternately via YAML?
Sure. Create an automation with triggers for every time that you want, and then put a choose block in your automation action, which you can do from the ui. Your condition for each block will probably have to be a template one that looks something like now().hour = 6 (I’m not sure of the syntax).
1 Like
See example at the bottom of this post:
1 Like