Now that I have a camera that provides reliable in-camera person and vehicle motion detection (Unifi G4 Instant vs Wyze Cam anything). Light Activation with HA works great:
The default value of mode is single. If the automation is triggered while it’s busy, the trigger is ignored and a warning message is also reported in the Log. This message can be suppressed by setting max_exceeded to silent
For example, if your automation were to use restart mode, if it was re-triggered while processing its delay it would exit the delay immediately (i.e. it won’t wait for thedelay to finish and it won’t turn off Front Outside light) then execute its three actions again:
Besides what happens when additional motion events come in during the 10 minutes, there’s also the behavior of the particular motion sensor. Some motion sensors keep the motion detected state on when additional motion is detected. In that case there’s no additional motion event, even though there’s still motion. So starting the timeout when motion stops is imho always the best course of action with the most predictable outcome. And of course canceling the timeout when new motion is detected.
@123 That’s exactly what I was asking. I had remembered “mode” at the top of the automation definition in the past, now that it is hidden away behind the 3 vertical dots, I forgot about it. “restart” is the mode I was looking for.