Switch between scenes evey 30 minutes during a specific calendar event?

I’m strugling with implementing the following idea.

To give you a idea about the situation:
I have several RGB GU10 light pairs in my garden and these light pairs are mounted 1 up and 1 down. So i created 2 scenes that will do the following. 1 scene: upper lights red, lower lights green and second scene is inverted (up green, low red) Let’s name these scenes: RED_UP and RED_DOWN

Now i want to create a automation that will switch between these two scenes every 30 minutes (can be every time but for now 30 minutes) but only during a specific calender event: Christmas

Can anyone give me some guidance, examples or tips how to accomplish this?
Maybe i should step away from automation and scenes and use node red for this but in node red i also faced the same problem to get this setup working.

Just spit balling here, but this is where I would start with this:

  • a button helper entity that you use for storing the last time the transition happened
  • an automation that fires if the following are true:
    1. the date is the day in question
    2. the current time is between some set point times of the day
    3. the time of the button was last updated is >= 30 minutes ago
  • the automation will then transition the scenes and “press” the button to update the last time it fired
1 Like

This indeed might work.
Maybe i was making it to complicated for myself and didn’t think of a helper.
Going to play with it tomorrow.
Thanks