1) Give a description of the problem
Looking for a better way to implement state tracking. I want to track the state of the curtains (dimmer 2). Either opened or closed so they can be restored to a prior state. I can get it to work with a global variable but there is probably a better way.
2) What is the expected behaviour?
Save state of curtains (dimmer 2) and restore it later
3) What is happening/not happening?
currently works as expected I’m thinking there is a better more efficient way to do this.
**4) Post a Green Snapshot of the piston