mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-13 20:11:53 +01:00
cse7766: add energy sensor (#1679)
This commit is contained in:
parent
f25e069bb9
commit
960f0c2304
@ -38,7 +38,8 @@ Additionally, you need to set the baud rate to 4800.
|
||||
name: "Sonoff Pow R2 Voltage"
|
||||
power:
|
||||
name: "Sonoff Pow R2 Power"
|
||||
|
||||
energy:
|
||||
name: "Sonoff Pow R2 Energy"
|
||||
.. note::
|
||||
|
||||
The configuration above should work for Sonoff POWs (R2).
|
||||
@ -52,6 +53,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``.
|
||||
- **uart_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the :ref:`UART Component <uart>` if you want
|
||||
|
Loading…
Reference in New Issue
Block a user