How to temporarily disable RF sensor

I have a Sonoff RF-bridge flashed with Tasmota, and a RF vibration sensor.
What I want is that when my sunscreen gets the command to deploy, the RF sensor is temporarily ignored. (because the screen will vibrate when deploying). When deployed the RF sensor should get active.

Can anyone explain how to do this in HA? I have no idea how to ignore the RF sensor for 5 minutes.