H.O.O.P. (Hope) - Homey Object Oriented Programming

Hey Dennis,

The added trigger cards are not supose to be within the IF-THEN-ELSE part.
Just place ALL triggercards before any other conditional cards.

What you want is this:
image
This part will take card of all triggers; it will make sure the flow is triggered by all trigger cards.

After this you can create your IF-THEN-ELSE part.
But i think what you want is the below example:

I just used a “direct” HOOP trigger (Sensor On) and added a second trigger (Sensor Off).
Then a simplyfied If-Then statement.

(If you want to trigger this flow to test it, you can use the HOOP Await card, like this:

)

I’ll update the HOOP cards with some more information.

N.b.
There is no way to make an (added) trigger part of a condition.
Because to run the trigger-condition, the flow would have to be triggered, before knowing if it should be triggered.
So, adding a trigger is just like telling the flow simply: if …(Seonsor on) trigger flow and if …(Sensor off) trigger flow and if …(Button pushed) trigger flow.

1 Like