Additional clarification to update_interval and sample_duration relat… (#1898)

* Additional clarification to update_interval and sample_duration relations

* Update components/sensor/ct_clamp.rst

Co-authored-by: Otto Winter <otto@otto-winter.com>

Co-authored-by: Flaviu Tamas <me@flaviutamas.com>
Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
QbaF 2022-03-11 04:39:06 +01:00 committed by GitHub
parent 7273822a94
commit af891ff5e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ Configuration variables:
- **sample_duration** (*Optional*, :ref:`config-time`): The time duration to sample the current clamp
with. Higher values can increase accuracy. Defaults to ``200ms`` which would be 10 whole cycles on a 50Hz system.
- **update_interval** (*Optional*, :ref:`config-time`): The interval
to check the sensor. Defaults to ``60s``.
to check the sensor. Defaults to ``60s``. The **update_interval** for ``ct_clamp`` has to be greater than **sample_duration**.
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
- All other options from :ref:`Sensor <config-sensor>`.