IAMMETER now supports MQTT discovery for all types of energy meters in Home Assistant.
details https://www.iammeter.com/newsshow/mqtt-discovery-energy-meter
The Wi-Fi power controller WPC3700 also supports MQTT discovery, and the code is undergoing synchronized testing.