mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-06-26 10:34:54 +02: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"
|
name: "Sonoff Pow R2 Voltage"
|
||||||
power:
|
power:
|
||||||
name: "Sonoff Pow R2 Power"
|
name: "Sonoff Pow R2 Power"
|
||||||
|
energy:
|
||||||
|
name: "Sonoff Pow R2 Energy"
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
The configuration above should work for Sonoff POWs (R2).
|
The configuration above should work for Sonoff POWs (R2).
|
||||||
|
@ -52,6 +53,8 @@ Configuration variables:
|
||||||
:ref:`Sensor <config-sensor>`.
|
:ref:`Sensor <config-sensor>`.
|
||||||
- **voltage** (*Optional*): Use the voltage value of the sensor in V (RMS).
|
- **voltage** (*Optional*): Use the voltage value of the sensor in V (RMS).
|
||||||
All options from :ref:`Sensor <config-sensor>`.
|
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
|
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
|
||||||
sensor. Defaults to ``60s``.
|
sensor. Defaults to ``60s``.
|
||||||
- **uart_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the :ref:`UART Component <uart>` if you want
|
- **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