Add AM2315C docs (#3625)

Co-authored-by: Jonathan Swoboda <jonathan.swoboda>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
swoboda1337 2024-03-11 02:33:46 -04:00 committed by GitHub
parent 9cdbd6da73
commit 1de513d903
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,54 @@
AM2315C Temperature+Humidity Sensor
===================================
.. seo::
:description: Instructions for setting up AM2315C temperature and humidity sensors
:image: am2315c.jpg
:keywords: am2315c
The ``am2315c`` Temperature+Humidity sensor allows you to use your AM2315C
(`datasheet <https://cdn-shop.adafruit.com/product-files/5182/5182_AM2315C.pdf>`__) I²C-based sensor with ESPHome.
.. figure:: images/am2315c-full.jpg
:align: center
:width: 50.0%
AM2315C Temperature & Humidity Sensor.
.. figure:: images/temperature-humidity.png
:align: center
:width: 80.0%
.. code-block:: yaml
# Example configuration entry
sensor:
- platform: am2315c
temperature:
name: "Living Room Temperature"
humidity:
name: "Living Room Humidity"
Configuration variables:
------------------------
- **temperature** (**Optional**): The temperature sensor.
All options from :ref:`Sensor <config-sensor>`.
- **humidity** (**Optional**): The humidity sensor.
All options from :ref:`Sensor <config-sensor>`.
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the sensor. Defaults to ``60s``.
See Also
--------
- :ref:`sensor-filters`
- :doc:`absolute_humidity`
- :doc:`dht`
- :doc:`dht12`
- :doc:`hdc1080`
- :doc:`htu21d`
- :apiref:`am2315c/am2315c.h`
- :ghedit:`Edit`

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
images/am2315c.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -300,6 +300,7 @@ Environmental
Absolute Humidity, components/sensor/absolute_humidity, water-drop.svg, dark-invert
AHT10 / AHT20 / AHT21 / DHT20, components/sensor/aht10, aht10.jpg, Temperature & Humidity
AirThings BLE, components/sensor/airthings_ble, airthings_logo.png, Temperature & Humidity & Pressure
AM2315C, components/sensor/am2315c, am2315c.jpg, Temperature & Humidity
AM2320, components/sensor/am2320, am2320.jpg, Temperature & Humidity
BME280, components/sensor/bme280, bme280.jpg, Temperature & Humidity & Pressure
BME680, components/sensor/bme680, bme680.jpg, Temperature & Humidity & Pressure & Gas