From e4b35c707098c9954fe506dd197be53bd4346d12 Mon Sep 17 00:00:00 2001 From: Martin <25747549+martgras@users.noreply.github.com> Date: Mon, 25 Apr 2022 23:50:41 +0200 Subject: [PATCH] sps30: document pr#3410 (#2033) --- components/sensor/sps30.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/components/sensor/sps30.rst b/components/sensor/sps30.rst index d476730e0..9ed2ca948 100644 --- a/components/sensor/sps30.rst +++ b/components/sensor/sps30.rst @@ -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 `. +- **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 ` manually starts fan-cleaning. + +.. code-block:: yaml + + on_...: + then: + - sps30.start_fan_autoclean: my_sps30 + + See Also --------