From f11d506b0365df1b2b28ae11d54abe16e04db80b Mon Sep 17 00:00:00 2001 From: Frank bakker Date: Sat, 25 Jul 2020 07:22:20 +0200 Subject: [PATCH] Added Energy sensor to hlw8012 --- components/sensor/hlw8012.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/sensor/hlw8012.rst b/components/sensor/hlw8012.rst index fca9e526f4..d6b8bd46ad 100644 --- a/components/sensor/hlw8012.rst +++ b/components/sensor/hlw8012.rst @@ -31,6 +31,8 @@ be measured at the same exact points in time. name: "HLW8012 Voltage" power: name: "HLW8012 Power" + energy: + name: "HLW8012 Energy" update_interval: 60s .. note:: @@ -49,6 +51,8 @@ Configuration variables: :ref:`Sensor `. - **voltage** (*Optional*): Use the voltage value of the sensor in V (RMS). All options from :ref:`Sensor `. +- **energy** (*Optional*): Use the total energy value of the sensor in Wh. + All options from :ref:`Sensor `. - **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``. Advanced Options: