You can create a virtual motion sensor.
Have the actual motionsensor trigger the virtual motion sensor.
For the virtual motionsensor you can fully control yourself how long this sensor will report “activity”
Now use the virtual motion sensor to control if your alam will be triggered (many ways to do that)
- use it in the AND
- use it to disable the alarm flows