Flow Director
Part of: H.O.O.P. (Hope) - Homey Object Oriented Programming
Summary
This device offers flow cards to manage statements within condition parts of a flow.
Inner IF statements are supported.
These flow cards only function when a flow is triggered through H.O.O.P. (doesn’t need to be a H.O.O.P. trigger, Await will also do the trick).
Flow cards
Conditions
-
IF (all cards until Then are) Operator = AndAlso && or And &
Starts an IF statement within the condition part of a flow.
Operator for the cards between IF and Then-Cards can inversed between AndAlso and And. -
OrElse / Or
Used to separate conditions groups between IF-Cards and Then-Cards -
Then
If the cards between If-Card and Then-Card are equal to the value given in the If-Card (true or false), then executes the next cards until the Else-Card or End If-Card -
Else
Does it need an explanation? -
Else If
Opens a new IF statement (that needs a Then-Card) if the previous IF statement failed. -
End IF
Closes the IF statement
Examples
Example:
Dim the light on to 30% of its dark, dim it to 90% when its lighter, and don’t turn it on when its fully light outside.
Example:
Example:
Example:
Inner IF statements