Added energy sensor to hlw8012 (#707)

This commit is contained in:
Frank Bakker 2021-02-13 09:57:10 +01:00 committed by Jesse Hills
parent 779639b966
commit 9c85b69efd
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -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 <config-sensor>`.
- **voltage** (*Optional*): Use the voltage value of the sensor in V (RMS).
All options from :ref:`Sensor <config-sensor>`.
- **energy** (*Optional*): Use the total energy value of the sensor in Wh.
All options from :ref:`Sensor <config-sensor>`.
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
Advanced Options: