document cse7766 changes (#3539)

This commit is contained in:
Samuel Sieb 2024-01-14 16:05:50 -08:00 committed by GitHub
parent cc2f6abe0c
commit 62292906f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -17,7 +17,8 @@ and works with this integration.
As the communication with the CSE7766 done using UART, you need
to have an :ref:`UART bus <uart>` in your configuration with the ``rx_pin`` connected to the CSE7766.
Additionally, you need to set the baud rate to 4800.
Additionally, you need to set the baud rate to 4800. The device sends multiple updates per second, so you
will probably want some sort of averaging or throttle filter on the sensors.
.. code-block:: yaml
@ -34,8 +35,12 @@ Additionally, you need to set the baud rate to 4800.
- platform: cse7766
current:
name: "Sonoff Pow R2 Current"
filters:
- throttle_average: 60s
voltage:
name: "Sonoff Pow R2 Voltage"
filters:
- throttle: 60s
power:
name: "Sonoff Pow R2 Power"
energy:
@ -55,8 +60,6 @@ Configuration variables:
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
to use multiple UART buses.