Page 1 of 1

Can I store the value of a switch to re-use?

Posted: Sunday 07 July 2019 23:06
by leecollings
Is there a way to get the current value of a switch dropdown value to re-use later on the script?

As a working example, my AV receiver has a dropdown of source input. I want to get the current input source, and store it.
Then I want to change the source, and set it back to what it was set previously.