#Store State
1 messages · Page 1 of 1 (latest)
What type of states are you talking about?
It is not usually done. Generally the automations and scripts are written around the problem when possible. Entities should know that state they are in and you have HA resample them quick on restart if you need something up before the normal refresh periods.
Non critical will refresh atthe normal pace. That is often set to like every 5 minutes.
I have 2 Modbus TCP relays where I can also query the status via Modbus. Many of these relays are connected to lights and also to switchable sockets. My main concern is that these relays should maintain their status.