This all depends on if you have a neutral line available where you want to place it. I only have experience with the nutral line.
This version needs the neutral line to power the switch itself. I’m not sure how the no-neutral version works but it might be powered by a battery which you would then need to replace once in a while.
I have connected it using zigbee2mqtt without problems and the status updates back to HASS when you flip the switch manually.
Just i have installed Sonoff Mini with tasmota but as a standalone to first test the MQTT and configure it. After that i will try to put that behind the normal switch.
BUT,
by Lovlace i can’t switch on off. Well via Tasmota by Sonoff Mini. What i am doing wrong? Here is my configuration file: