Request: "toggle" state value for changing virtual switch state via API

David Pritchard shared this idea 6 years ago
Under Consideration

Zipato, please add a "toggle" value for changing the state of a virtual switch via the API. When manipulating a switch from, say, IFTTT, there's no way to check the current state of the switch first, or vary the value sent. So you have to send "true" or "false" and the switch must be in the opposite state for anything to happen. If you want to ensure that the action will always happen you have to reset the switch state in a rule to ensure it's ready for the next call, which is unreliable.

Far easier to have a rule triggered by "any" state change and have the call toggle the value.

Replies (1)


I have also asked for this, virtual push button.

for opening a door lock etc.

Leave a Comment
Attach a file