Muting dumb doorbell on command (Sonoff Mini R2 + Tasmota)

I have implemented similar solution with ability to see the doorbell button presses and ability to disable the doorbell when required.
https://community.home-assistant.io/t/contact-sensor-for-doorbell/341167/13?u=birca1987