Document the update_interval support and requirements for PMSX003 (#1803)

Co-authored-by: Otto Winter <otto@otto-winter.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Matthew Garrett 2022-05-10 02:35:49 -07:00 committed by GitHub
parent 99af70c048
commit 6f80107eea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ value:
# Example configuration entry
uart:
rx_pin: GPIO23
tx_pin: GPIO22
baud_rate: 9600
sensor:
@ -37,6 +38,7 @@ value:
name: "Particulate Matter <2.5µm Concentration"
pm_10_0:
name: "Particulate Matter <10.0µm Concentration"
update_interval: 60000ms
Configuration variables:
------------------------
@ -71,6 +73,8 @@ Configuration variables:
All options from :ref:`Sensor <config-sensor>`.
- **formaldehyde** (*Optional*): Use the formaldehyde (HCHO) concentration in µg per cubic meter for the ``PMS5003S`` and ``PMS5003ST``.
All options from :ref:`Sensor <config-sensor>`.
- **update_interval** (*Optional*): Amount of time to wait between generating measurements. If this is longer than 30
seconds, and if ``tx_pin`` is set in the UART configuration, the fan will be spun down between measurements. Default to ``0s`` (forward data as it's coming in from the sensor).
- **uart_id** (*Optional*, :ref:`config-id`): Manually specify the ID of the :ref:`UART Component <uart>` if you want
to use multiple UART buses.