Conditions

Conditions enable a set of steps to run only if the specified criteria is met.

Below are the available conditions.

Else and end condition

When you add a condition to your sequence, an else clause and end of condition step are automatically added.

If the condition is met, the steps between the condition and the else will run. If the condition is not met, then the steps between the else and end condition will run.

Steps in both sections are optional

For example:

  • If it's during daylight, then...
    • Turn off the light
  • Else
    • Turn on the light
    • End condition

During daylight, this would turn off the light. However, if it is not daylight then the second block of steps will be run - in this case the light would be turned on.

After checking the condition, the sequence will resume after the end of condition step.

Still need help? Ask a question on our Q&A site.