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 I want to be able to restore the pre scene state once the movie or dinner has ended.

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 want 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.

2 Likes

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

Can’t think of a situation where I would use scenes until this is implemented. The blueprint by @HarvsG is OK, but doesn’t survive HA restarts and really should be built-in and officially supported if scenes themselves will continue to be supported.

2 Likes