I am trying to use scene.create in order to save the current state of some devices in order to reapply this state later again. This use case is also described in the documentation:
The problem is that sometimes I have to restart HA between the creation of the scene and its usage. But after a restart the scene is deleted and the automation fails. Is there a way to persist such a dynamic scene over a HA restart.
I was also hoping that I could use such scenes somehow as a workaround for this problem:
The linked FR also discusses a custom component designed to save an entity’s state but I can’t comment on how well it works with ‘on-the-fly’ scene entities.