I have a device "Home Secure" which changes to open or closed based on if any exterior doors or windows are opened or closed. I like this because it is a single view "Home Secure" is closed means everything is closed. Good to go.
Now recently I have been getting into LIFX lighting and I decided what I would like to do is turn all of the lights red while "Home Secure" is open. This would allow me to quickly see if anything is open just by looking at the lights. But what I want is when "Home Secure" is closed everything returns back to its previous state. So if the light was on and white then go back to being on and white. If the light was off then turn it back off.
What would be the thoughts on the best way of doing this "change the color temporarily" idea?
Thanks!