mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-26 22:21:38 +01:00
Added energy sensor to pzemdc (#2177)
Co-authored-by: Andreas <andreas.hergert@otrs.com>
This commit is contained in:
parent
ac71defd45
commit
c0b17e0477
@ -42,6 +42,8 @@ to some pins on your board and the baud rate set to 9600.
|
||||
name: "PZEM-003 Voltage"
|
||||
power:
|
||||
name: "PZEM-003 Power"
|
||||
energy:
|
||||
name: "PZEM-003 Energy"
|
||||
update_interval: 60s
|
||||
|
||||
Configuration variables:
|
||||
@ -53,6 +55,8 @@ Configuration variables:
|
||||
:ref:`Sensor <config-sensor>`.
|
||||
- **voltage** (*Optional*): Use the voltage value of the sensor in volts.
|
||||
All options from :ref:`Sensor <config-sensor>`.
|
||||
- **energy** (*Optional*): Use the energy value of the sensor in kWh.
|
||||
All options from :ref:`Sensor <config-sensor>`.
|
||||
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||
sensor. Defaults to ``60s``.
|
||||
- **address** (*Optional*, int): The address of the sensor if multiple sensors are attached to
|
||||
|
Loading…
Reference in New Issue
Block a user