Delay before trigger

I have a flow that turns on the lights when a motion sensor detects motion. The flow works, but I notice that there is a delay between the start and the actual trigger of the flow. That’s why I turned on Simple Log to check if my assumptions are correct. That seems to be the case, because in the log file I see the same delay of about six seconds between the condition and the actual action. This is strange because I don’t have any delays in the flow or what so ever. Do you have any idea what might explain this?

Part of the flow that triggers:

Example of the delays 1:

  • 12-9-2023 00:26:03; Action; A1: Executed
  • 12-9-2023 00:25:57; Condition; C13: true
  • 12-9-2023 00:25:57; Condition; C3: false
  • 12-9-2023 00:25:57; Condition; C6: false
  • 12-9-2023 00:25:57; Condition; C7: false
  • 12-9-2023 00:25:57; Condition; C5: true
  • 12-9-2023 00:25:57; Condition; C16: false
  • 12-9-2023 00:25:57; Condition; C17: true
  • 12-9-2023 00:25:57; Condition; C4: true
  • 12-9-2023 00:25:57; Condition; C1: true
  • 12-9-2023 00:25:57; Trigger; T1: Triggered

Example of the delays 2:

  • 2023-09-12 00:57:39; Action; A4: Executed
  • 2023-09-12 00:57:33; Condition; C3: false
  • 2023-09-12 00:57:33; Condition; C6: false
  • 2023-09-12 00:57:33; Condition; C4: false
  • 2023-09-12 00:57:33; Condition; C5: true
  • 2023-09-12 00:57:33; Condition; C16: false
  • 2023-09-12 00:57:33; Condition; C17: true
  • 2023-09-12 00:57:33; Condition; C1: true
  • 2023-09-12 00:57:33; Trigger; T1: Triggered

Aren’t the A1/A4 cards dependent on how long it takes to run the flow card to which they are attached? (at least it looks like they are connected to the “output” of the “Start Flow” cards)

Could be, although that would be quite strange. The only thing that flow does dim a light. But I changed the above flow so that they now directly change the dim level. I’ll check the logs tonight to see if anything is changed :).

That’s a realistic delay when you test run a flow, like shown in your screenshot?

And, following up on Robert’s note, also add a log card in parallel to the action cards,
So you can discover if:
the action cards take 6s to finish,
or:
it takes 6s to start the action cards.