Fire alarm that saves light state


#1

So real quick, I’m making a piston where when a fire alarm goes off it turns on all my lights, set what lights it can to a given color, and it will blast an alarm through my Google Home speakers.

I’m having a problem finding a way for the system to save the current state of the lights so it can be reverted after the alarm goes off. Does anyone know how to do this?


#2

It might help us to know what brand of lights you are using.


#3

NM I found the answer.

It was a mix of hue lights and I think some others. Plus some that plug into a smart plug