From 02bc8f3ccfad8dfee785cb4067e01785c96d7a9b Mon Sep 17 00:00:00 2001 From: Pavel <205196+yekm@users.noreply.github.com> Date: Thu, 12 Mar 2020 23:59:20 +0300 Subject: [PATCH] add energy support to pzemac (#478) --- components/sensor/pzemac.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/sensor/pzemac.rst b/components/sensor/pzemac.rst index b165b4eeb..a321c05e6 100644 --- a/components/sensor/pzemac.rst +++ b/components/sensor/pzemac.rst @@ -46,6 +46,8 @@ to some pins on your board and the baud rate set to 9600. name: "PZEM-004T V3 Current" voltage: name: "PZEM-004T V3 Voltage" + energy: + name: "PZEM-004T V3 Energy" power: name: "PZEM-004T V3 Power" frequency: @@ -59,6 +61,8 @@ Configuration variables: - **current** (*Optional*): Use the current value of the sensor in amperes. All options from :ref:`Sensor `. +- **energy** (*Optional*): Use the (active) energy value of the sensor in watt*hours. All options from + :ref:`Sensor `. - **power** (*Optional*): Use the (active) power value of the sensor in watts. All options from :ref:`Sensor `. - **voltage** (*Optional*): Use the voltage value of the sensor in volts.