Maybe you guys can help me out.
I would like to make a flow (script?) We’re I can turn my (hue) light back in his previous state.
For example. When the garage door opens. A sensor detects the gap and the light turns to red. When I close the door the light should go back to his previous state. So when the light was off its should go back to off. When it was purple it should go back to purple.
So I think I have to read out the light status before changing it, store this so I can reuse this again. Or maybe there is a better solution?
Is there a way to do this?
With kind regards,