Advanced Flow — Community Q&A (from Ask Me Anything 05-07-2022)

This seems to happen when you go directly from a When card into a all card and start a test from the When card. I will see if we can fix this asap.


This will never been triggered:

  • When the sun rises and later than 07:00
  • When time is (exact) 07:00
    Both must be true to activate the ALL block.

Wat jij wil kan toch met de “any” card?

I think you have AND blocks from a inferior quality :thinking: I don’t have a clue, build it again in a new flow window, maybe starting with an easy flow to verify the AND block :building_construction:

does it make a difference if the any block is there or if i go directly from both blocks to the action?

Dont have advanced flows yet. But looking at the flows I am wondering:
** About the “All” card. How much time does it wait for all to become true? Is that a setting you can do? (I hope so)
Or is it just going to wait forever? (That would be pretty useless)


you are right, i posted the final version is well. that should work. at least it did in old flows.

@Dijker did some nice experiments, maybe he knows?

1 Like

Confirmed as an Bug / Issue but only in the Simulation on tha canvas.
When it is triggered (fe in my case a Favorit Flow) it doesn’t fail, then the execution is OK

Here my Workaround, delete the direct line and replace with a Delay 0 seconds.
Then it simulates OK.

As a consultant I can say I most often have the correct answer:
In this case: It depends…

And you can see that,
stops spinning… :wink:

1 Like


Does anyone know how to do a motion → lights on → delay → off correct?

A simple flow is running at my walk in closet. Motion is triggered, lights turn on, the delay runs and the lights go off.

But if i enter the room after 2.5 min, the timer does not reset and the lights turn off after only 30 sec.
It seems as the timer keeps its delay running, even with a second trigger signal.

Is there a option anywhere to reset the timer when motion is triggered a second time?

// Tom

But what if I use it in a flow hat is not started by a button, but with a “oldfashioned” card

The big pitfall with motion…
You should switch the lights ON when the zone becomes active
And switch them OFF when the zone becomes inactive (if needed “is inactive for a certain period of time)

Zone activity won‘t work if you also have a contact sensor in that zone (open window).

That answer is slightly longer:
Read it here: [FAQ] [Advanced Flow] Infinite canvas. Infinite creativity - #44 by Dijker

in that case the light was off, the first Run triggered from fe a Favorite Flow from the homescreen it runs for ~ the time of the delay (In my case 1s, but would not differ in result if it was 999 minutes)

The Second run initiated from the card Right above Turn on Light => Triggerd by Left bottom “The Light turned On” I guess a couple of ms.

But As I said, Why do you want to know? It doesn’t change the result of the executions.
Do you have an example where you think it does matter how long a flow runs?

So I misunderstood. It will be triggered, but never finished because of the ALL card :wink:

Yes it’s fixed, thanks a lot

Yes, but he combines/combined two triggers with contradicting terms with an ALL. I don’t think this will work. Even if they would not contradict, combining two triggers with an ALL seems very weird to me. I don’t think it works that way (but, I am also new to this).

I just wanted to point at the “not triggered” statement. It’s a difference whether a flow is not triggered or if it doesn’t end/continue. So the topoc comments should better use the correct words.

In that case you could consider moving the window contact sensor to it’s own zone. But do not use a subzone though (they activate the parent zone as well)