Hi. I have a button that I press when I leave the house so all lights, TV and other stuff turn off. And when I come back home I press it again to activate a scene to turn lights on etc. But I want to do so when I leave the house it saves the entity states before it turns everything off and when I come back home it turns everything back on as it was when I left the house (on/off, same brightness etc). Is there an easy way to do this?
You can use snapshot_entities
before turn everything off and then restore the scene when you are back home.
1 Like