Strategy to: Restore room to previous state after scene disabled

Hey all,

I’m looking for a way to restore a room/are (or a group of devices) to a previous state after a scene is deactivated or automation is considered finished.

For example, maybe I have the living room scene to “dim mode” one day, but “bright mode” another day. During each of those days, I setup some colorful fun scene to go off for a couple minutes via some automation. When the automation is finished, I’d like the room to go back to either “dim mode”, “bright mode”, or even whatever custom settings I had, based on the devices’ state before running the automation (or script).

You could create a scene on the fly.

Edit your automations or scripts to include creating a scene at the start of your automation to include any devices / entities you want to restore and then at the end of your automation call the temp scene you just created to restore the states:

2 Likes