WTH can't I 'undo' scenes

I am aware it changes how scenes are thought about. But if I set a ‘movie’ or ‘dinner’ scene

Similar to: WTH can’t a scene be deactivated - #23 by nickrout but I am proposing a different solution

scene.activate should store the previous states of the entities
scene.deactivate should restore the previous state
Discussion on what to do about states that were changed by the user, automations etc in the meantime…

I am told this can be achieved with automations and calls to scene.create and scene.apply.

But my WTH is that this should be default behaviour of a scene.

Why did you post a new topic? This is exactly what is discussed under the topic you linked :slight_smile:

Only because the proposed solution is different. OP wants to turn off all entities - I wan’t to restore them.

Let the votes decide…

Happy for this to be locked + marked as duplicate if you want to keep solution discussion to all one thread though.

1 Like

So essentially this, but done automatically for you:

https://www.home-assistant.io/integrations/scene/#creating-scenes-on-the-fly

I like it.

3 Likes

I created a blueprint to do this for me:
https://community.home-assistant.io/t/toggle-between-a-scene-and-the-pre-scene-state/493484/4