mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-18 11:15:36 +01:00
25 lines
430 B
ReStructuredText
25 lines
430 B
ReStructuredText
DHT Temperature/Humidity Sensor
|
|
===============================
|
|
|
|
Example Usage
|
|
-------------
|
|
|
|
.. code-block:: cpp
|
|
|
|
// Basic
|
|
App.make_dht_sensor("Outside Temperature", "Outside Humidity", 12);
|
|
|
|
.. cpp:namespace:: nullptr
|
|
|
|
See :cpp:func:`Application::make_dht_sensor`.
|
|
|
|
API Reference
|
|
-------------
|
|
|
|
.. cpp:namespace:: nullptr
|
|
|
|
.. doxygenclass:: sensor::DHTComponent
|
|
:members:
|
|
:protected-members:
|
|
:undoc-members:
|