RGBW Light Transitions

I’m sure there is a better way but this works really well.

I setup my Outside light to transition between Orange and Green for Halloween

Triggers

PorchLight Whenever the Front Porch Main is turned on

Schedules

s10Minutes Self ReTrigger None Interval 00:10:00 None
Comments: 10 Minute Timer
sSunsetTo1 Weekly +00:35:00t 1,2,3,4,5,6,7 None Weekly 01:00:00 1,2,3,4,5,6,7 None
Comments: Runs 30 Min After Sunset and is False at 1:00 AM 7 Days a Week

I used a Variable Container here because ill be adding more lights and I can change the colors in one spot.

Transition1 Color Transitions Variable1
Comments: Green=00FF000000 Red=FF00000000 Orange=FF36000000
Transition2 Color Transitions Variable2
Comments: Green=00FF000000 Red=FF00000000 Orange=FF36000000

Conditions Expression

OutsideLightsOn No sSunsetTo1 and !PorchLight
Comments: Turn Front Outside Lights On
OutsideLightsOff No !sSunsetTo1 and PorchLight
Comments: Turn Front Outside Lights Off
AutoColor No sSunsetTo1 and PorchLight and s10Minutes and AutoColorOn
Comments: Turn On Color Transitions for Outside Lights
PorchLightTran1 No PorchLight and AutoColor
Comments: Transition 1 Porch Light
PorchLightTran2 No PorchLight and !Autocolor
Comments: Transition 2 Porch Light

Actions for Condition: OutsideLightsOff

Device Actions:

Immediate

Device Action Arguments
Front Porch Main SetLoadLevelTarget newLoadlevelTarget=0
Actions for Condition: OutsideLightsOn

Device Actions:

Immediate

Device Action Arguments
Front Porch Main SetLoadLevelTarget newLoadlevelTarget=100
Actions for Condition: PorchLightTran1

Device Actions:

Immediate

Device Action Arguments
Front Porch Light SetColorTarget newColorTargetValue={(Transition1)} transitionDuration=30 transitionNbSteps=10
Actions for Condition: PorchLightTran2

Device Actions:

Immediate

Device Action Arguments
Front Porch Light SetColorTarget newColorTargetValue={(Transition2)} transitionDuration=30 transitionNbSteps=10

Actions for Condition: AutoColor

Device Actions:

Delay 20:00

Device Action Arguments
PLEG Test 2 StartTimer timerName=s10Minutes intervalTime=