Does this help you?
https://community.home-assistant.io/t/example-saving-and-restoring-states/99061
Or would you like a more specific example?
Does this help you?
https://community.home-assistant.io/t/example-saving-and-restoring-states/99061
Or would you like a more specific example?