dht: Add DHT22_TYPE2 model (#563)

Add the DHT22_TYPE2 temperature/humidity sensor model defined in https://github.com/esphome/esphome/pull/926 to the documentation.
This commit is contained in:
Robin Smidsrød 2020-05-19 19:15:42 +02:00 committed by GitHub
parent 9e030b0bf7
commit 6f177d7bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ Configuration variables:
- All other options from :ref:`Sensor <config-sensor>`.
- **model** (*Optional*, int): Manually specify the DHT model, can be
one of ``AUTO_DETECT``, ``DHT11``, ``DHT22``, ``AM2302``, ``RHT03``, ``SI7021``
one of ``AUTO_DETECT``, ``DHT11``, ``DHT22``, ``DHT22_TYPE2``, ``AM2302``, ``RHT03``, ``SI7021``
and helps with some connection issues. Defaults to ``AUTO_DETECT``. Auto detection doesn't work for the SI7021 chip.
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
sensor. Defaults to ``60s``.