+1 for Shelly as I have or any other drop in relay, all the wiring you’ll need to do is behind the switchplate, you can decouple the input switch from the relay output and have HA trigger either output based on some input conditions. My fav config is having two flips of the switch perform a different action
Well farts aren’t just methane