Description
Toggles a device between state X and state Y. This action is especially made for one-shot
devices such as a remote control button where a normal separate ‘switch-on’ and separate ‘switch-off’ rule doesn’t apply. This action will check what the current state of a device is, and will change it to the non-current state.
Options
Name | Required | Multiple Values | Description |
DEVICE | Device(s) to change | ||
BETWEEN | State 1 | ||
AND | State 2 |
Example
IF 1 == 1 THEN toggle DEVICE television BETWEEN on AND off