I've started buying Shelly plugs. So far I'm very impressed. They have wifi, including a local AP server you use to set them up and each plug is its own web server. (There's almost certainly some flavor of ESP32 inside.) And there's a physical button on the device you can push to turn them on/off. And they do power measurement. There exists a vendor cloud plus an app but you don't need to use either.
I don't even have Home Assistant; I control them with a 192.168.xxx.xxx address in a browser on my phone.
It's almost too perfect. Let's see how long they last before they cook their internal electronics.