That is an interesting idea. I use smart plugs, smart bulbs and switches all around the house. The ones that use the Smart Life (aka Tuya) firmware are a pain in the arse. The system is so unreliable, it often randomly goes down.
The Sonoff switches have been a paragon of reliability, I use...