Possibility to store / restore state of an entity

It would be nice to be able to store the state of some entity and at a later point in time restore the entity to the saved state.

For example I have a scene that dims my lights while a movie is playing. After I press stop I want the lights to come on again - but only the ones that where actually on before.

In case someone else come here, this feature now exist: https://www.home-assistant.io/integrations/scene/#creating-scenes-on-the-fly

1 Like