Motionsensor disable for a short time

Hi. I wonder if there is a way to deactivate tge motionsensor for a short time (like 5-30min) if i push a button on the smartswitch. If there is please help me out.

I’d be interested to see such functionality as well