Behavior : Toggle switch

Author:Rex.Rainbow

Download

Properties

Initial value

  • Set the initialize value of switch.
    • Options : ["Off","On"]

Actions

Set

Action:Set value

  • Set value of switch.
    • Value ( Combo ) : Set value to.
      • Options : ["Off","On"]

Action:Set value by number

  • Set value of switch.
    • Value ( number ) : Set value. 0 = Off, 1 = On

Toggle

Action:Toggle switch

  • Toggle switch between on and off.

Expressions

Value

Expression:Value

  • Get value of switch.

Conditions

Event

Condition:On turn on

  • Triggered when turn on.

Condition:On turn off

  • Triggered when turn off.

If

Condition:Is turn on