This is a logging module for the Athom Smart Plug V2, using ESPHome MQTT client API.
See ESPHome documentation for more details on how to set up your devices.
<device_name>/status
: Status message published when the plugs go online or offline<device_name>/debug
: Log messages similar to the one seen on the plug's web UI<device_name>/sensor/<sensor_name>/state
: Values from a sensor. Known sensor names areathom_smart_plug_v2_voltage
athom_smart_plug_v2_current
athom_smart_plug_v2_power
athom_smart_plug_v2_energy
athom_smart_plug_v2_total_energy
athom_smart_plug_v2_total_daily_energy
athom_smart_plug_v2_uptime_sensor
ip_address
mac_address
connected_ssid
<device_name>/binary_sensor/<sensor_name>/state
: Values from a binary sensor (i.e. only has ON or OFF value). Known sensor names areathom_smart_plug_v2_power_button