mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-04 23:52:18 +01:00
Added energy sensor to hlw8012 (#707)
This commit is contained in:
parent
779639b966
commit
9c85b69efd
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user