Sonoff Dual R2 - prevent both relays ON

Bought some Sonoff Dual R2 devices to automate the blinds. I flashed the device with the latest version of Tasmota.

I want to prevent that both relays (POWER1 & POWER2) are ON (activated) at the same time since they are connected to the blind’s motor using Tasmota.

So if POWER1 = ON and I want to activate POWER2 then the device should first set POWER1 = OFF and then POWER2 = ON. I would like that the device’s firmware (Tasmota) controls this scenario.

Kind regards,

Check the Tasmota docs for “Shutters and Blinds”