Cycle Lights on/off

Hello
I'm trying to make an automation to cycle the patio lights with a couple different scenarios.
a) Comes on at sunset, turns off at midnight
b) Gets paused temporarily when an event starts (I want to watch a movie so I'd like a red low light to come on during) and resumed when the event stops (I prefer to use a virtual switch for this start/stop event so that it's a manual control)
So the virtual switch doesn't seem to work... can anyone let me know why and how to properly implement this?
I've attached an image of the rule
Thanks if you can!

Wooooo!!! I think I figured it out :partying_face:
Got this working in rule machine now - so happy!

IF (V switch cycle lanai lights(off) is off(T) [TRUE]) THEN
Stop Repeating Actions
Off: Light screen guest 1
Exit Rule
ELSE
Repeat every 0:03:05 (stopable)
Set color: Light screen guest 1 ->Green ->Level: 70
Set color: Light screen guest 1 ->Blue ->Level: 70 --> delayed: 0:01:00
Set color: Light screen guest 1 ->Red ->Level: 70 --> delayed: 0:02:00
END-REP
END-IF

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.