If

 

        Conditional statement. If something is true then a set of statements will be executed, otherwise another set.

 

Variations

          If statement with a single branch. 
          If statement with multiple branches. It is possible to add as many branches you need.
          If statement with an "else" branch and multiple conditional branches. Each branch has a condition to verify. First one in the list from top to down to be true is executed. If none are true then the else branch is executed.
          An if statement can have as many branches as you want and you can add them using the star icon. You can also remove branches if you do not need them.

 

Examples

         Here you have an example that will "check if temperature is greater then 25 degrees and it will set the AC on if that is true or OFF  otherwise".

 

Comparison

 

        Verify a condition.

 

Variations

          Return true if the values are equal or otherwise false.
          Return true if the values are not equal or otherwise false. 
          Return true if the first value is lower than the second one or otherwise false. 
          Return true if the first value is lower or equal to the second value or otherwise false.
          Return true if the first value is higher than the second value or otherwise false. 
          Return true if the first value is higher or equal to the second value or otherwise false. 
 

Examples

         Here you have an example that will "check if temperature is higher than 25".

 

 

Boolean Operator

 

        Boolean Operator.

 

Variations

          And operator. If both values are true then the returned value is true otherwise returns false.
          Or operator. If one of the values is true then the returned value is true otherwise false. 
 

Examples

         Here you have an example that will check if two conditions are true at the same time using an and operator.

 

 

Negation

 

        Not Operator. Returns true if the value it applies to is false or otherwise true.

 

Examples

         Here you have an example that will just return false.

 

Boolean Value

 

        Boolean Values: true and false.

 

Variations

          True.
         False. 

Null Value

 

        Null value.

 

Conditional Value

 

        Return a value if a condition is true or a second value if it the condition is false.

 

Examples

         Here you have an example that will assign ON or OFF to the AC variable if the TEMPERATURE is greater than 25.