Add new documentation to SGP40 component (#1515)

This commit is contained in:
Nate Lust 2021-10-14 16:39:29 -04:00 committed by GitHub
parent d36e9e7893
commit d625bdf42b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,14 @@ The ``sgp40`` sensor platform allows you to use your Sensirion SGP40 VOC sensor
(`datasheet <https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/9_Gas_Sensors/Sensirion_Gas_Sensors_SGP40_Datasheet.pdf>`__) with ESPHome.
The :ref:`I²C Bus <i2c>` is required to be set up in your configuration for this sensor to work.
.. note::
This sensor need to be driven at a rate of 1Hz. Because of this, the
sensor will be read out on device once a second separately from the
update_interval. The state will be reported to other components, or
the front end at the update_interval, saving wifi power and network
communication.
.. figure:: images/sgp40.jpg
:align: center
:width: 80.0%