You are OK. The voltage for the relay is separate from the powering the WiFi board voltage. IE: you can switch up to 220VAC with the relay and that doesn't cross over to the board at all.
You could also connect a voltage draw sensor to switch device that is documented above. This is just a very sensitive to voltage switch and connect that switch to your WiFi smart relay. You just run the AC power leads through a hoop of sorts which senses the draw on the doorbell wires.
AC Voltage sensor ==> triggers when you ring the doorbell ==> WiFi smart relay
These are very reasonably priced on Amazon. Look for "current sensor relay". You just need to adjust the sensitivity on the current sensor to trigger when someone rings the doorbell.
View attachment 84794
The smart relay will talk MQTT. Here the only difference is that I am hard wiring and soft wiring the doorbell switch and I added a debounce board to the mix.
Here wired my stuff where the Chime / doorbell / AC power supply is below the wall where the chime is. That and I wired a 12VDC lead from the alarm panel to that section.
I also purchased a buck 12VDC to 5VDC cable to power up the board. These are sold on Amazon or Ebay for 1-2 dollars. The buck transformer is tiny. I am using these in the automobiles for the cell phones and in the alarm panel for aux stuff.
Afterwards you can also add a PIR ONVIF ==> MQTT plugin so that also triggers a doorbell ring if you want. Here many package deliveries do not ring the doorbell.
The PIR motion and doorbell events are recorded CCTV wise none the less.