sps30: document pr#3410 (#2033)

This commit is contained in:
Martin 2022-04-25 23:50:41 +02:00 committed by GitHub
parent e26488848e
commit e4b35c7070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,6 +117,8 @@ Configuration variables:
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in automation and lambdas.
- All other options from :ref:`Sensor <config-sensor>`.
- **auto_cleaning_interval** (Optional): The interval in seconds of the periodic fan-cleaning.
- **address** (*Optional*, int): Manually specify the I²C address of the sensor.
Defaults to ``0x69``.
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
@ -141,6 +143,21 @@ The SPS30 sensor has an automatic fan-cleaning which will accelerate the built-i
The default automatic-cleaning interval is 168 hours (1 week) of uninterrupted use. Switching off the sensor resets this time counter.
Disabling of automatic-cleaning or setting a manual interval is not supported at the moment.
.. _sps30_start_autoclean_fan_action:
``sps30.start_fan_autoclean`` Action
------------------------------------
This :ref:`action <config-action>` manually starts fan-cleaning.
.. code-block:: yaml
on_...:
then:
- sps30.start_fan_autoclean: my_sps30
See Also
--------