emporia-smart-plug.yaml
This configuration turns an Emporia Smart Plug (ESP8266 with a BL0937 energy monitoring chip) into a locally-controlled switch that reports current, voltage, power, and energy directly to Home Assistant via the native API. The physical button toggles the relay, and the status LED follows the relay state.