I created this QuickApp when a user had a requirement. The user was not satisfied with just using his scenes. He wanted scenes to have memory. Say, he turned on a set of room lights and when he left the room, he switched them all OFF by a single click, when he came back, only those devices that he turned OFF previously must be activated. So he did not want a regular scene, instead a scene/quickapp with memory of the state of the room. This quickapp does that.
I made a video to explain how this quickapp works, what variables to be added etc. ⬇️