Rule to return to previous state

Been scratching my brain to figure this out. I have several Hue bulbs in a master bath. I have a rule that adjusts the color based on the mode (time of day). I want to create a rule that turn them to white when they are triggered by motion in the bath BUT I want them to revert to their previous color when the motion stops. I could create a rule for each mode but am trying to figure an easier way to do it. Any ideas?

You want to use "Capture" and "Restore" within a single rule.

Something like:

IF (Motion detected)
    Capture: Hue bulbs
    Color bulbs white etc.
ELSE
    Restore: Hue bulbs
END-IF
2 Likes

Thanks for the quick reply - updating hubs and then will try it out!!!

2 Likes

Works perfect. Thanks again

2 Likes