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

Moderator: leecollings

Post Reply
User avatar
leecollings
Posts: 167
Joined: Tuesday 30 June 2015 18:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: United Kingdom
Contact:

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

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest