Help with multiple triggers in less then 5 seconds with motion sensor

I have installed a motion sensor and the relay activation time on the device is like 1 or 2 seconds, so it can switch like 10 times in a minute easy, this is causing a flood of notifications to my app.

Is there a way to set like a re triger delay? So dont triger again for like 1 minute. Im imagine its quite simple.

Thanks

Put a delayed_off on it…