I’m a newbie… I’m a very recent Vera to ST convert and still in the learning curve stage on this side. Question is this… I have a simple Smart Lighting Automation that lights two Philips Hue Iris lights red when my rear slider door is opened. The Automation turns the lights Off when the door is closed. 99.9% of the time this works exactly as intended. However, I also use the same Hue Iris lights as decorative/ambient lighting in the home - particularly around holidays.
How do I program an automation that will turn my Hue Iris lights red when the rear slider is opened and then back to their previous state (currently pink in the evenings for Valentine’s Day) when the door is closed. Bear in mind, if it is Christmas time these lights might be red & green, or if no holiday they may just be off so “Returning to Previous State” is the prime directive.