Can't change light to white on motion and back to original color after motion stops

I have hue path lights outside that we change the colors depending on the time of year. I want to have them turn white when someone walks by and back to the original color after the motion spots. I am testing this and cannot get my rule to work.

I have:
Trigger: motion sensor state change

IF motion active then
capture light bulb
cancel delayed actions
set light bulb to white

ELSE
restore light bulb after 1 minute (cancelable)

I think when it senses motion again it is capturing the white. What is the best way to do this?

Take a look at the post below. It covers the same concept.

You can use a Private Boolean or Other Boolean variable to restrict the capture to the first time the motion triggers

1 Like

Thank you so much!! I was looking all over but somehow missed this!