Not the most elegant solution but have you looked at Shelly devices? They are smart relays that connect to your switches in the wall. They connect via Wi-Fi, cloud optional. Newer ones are supposed to support things like Threads and Matter. What I love about them is that you can use any switch you want.
Day 1 dictator.