Skip to content

Switch

Plugin: Logic | Mode: Run

Query the status of a variable and switch to a next state if the queried condition applies.

Unlike On Event  and On Change conditions, the Switch condition is only called one time, whenever the respective State is triggered.

If a condition applies, the state is changed immediately and the following actions, which are beneath the Switch action, will not be executed.

Eine switch und eine next action

If the condition specified in the switch action is met, it continues in the "BE" state. The following actions are no longer executed.

If the condition does not apply, the switch action is skipped and the following next action leads to the "NOT_TO_BE" state.

Switch actions allow the same queries as other actions containing conditions.

Under Conditions you will learn how to query or compare variables in the Switch and other actions.