I'd like to fully open my window blind slats when the window is opened, and restore the previous state when it is closed again. I don't want to keep the automation running all the time while the window is open. I have 11 windows and don't want to create a dedicated helper for previous state of each. Where can I store the previous state to restore it later? It must be thread safe as multiple windows can be opened and closed at the same time. Ideal solution would be a custom attribute on the cover entity which is configurable via action calls - is there such a thing?
#Where to store "previous state" to keep automations short-running?
1 messages · Page 1 of 1 (latest)