From 9c85b69efd8c5b2d0884d5a671d28aecc77a29fb Mon Sep 17 00:00:00 2001 From: Frank Bakker Date: Sat, 13 Feb 2021 09:57:10 +0100 Subject: [PATCH] Added energy sensor to hlw8012 (#707) --- components/sensor/hlw8012.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/sensor/hlw8012.rst b/components/sensor/hlw8012.rst index fca9e526f..d6b8bd46a 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: