HTE501 Temperature+Humidity Sensor
===================================

.. seo::
    :description: Instructions for setting up HTE501 temperature and humidity sensors
    :image: HTE501.png

The ``hte501`` sensor platform Temperature+Humidity sensor allows you to use your HTE501
(`datasheet <https://www.epluse.com/fileadmin/data/product/hte501/datasheet_HTE501.pdf>`__ ,
`E+E HTE501 <https://www.epluse.com/products/humidity-instruments/humidity-sensing-elements/hte501/>`__) sensor with
ESPHome. The :ref:`I²C Bus <i2c>` is
required to be set up in your configuration for this sensor to work.


.. figure:: images/HTE501.png
    :align: center
    :width: 80.0%

.. code-block:: yaml

    # Example configuration entry
    sensor:
      - platform: hte501
        temperature:
          name: "Office Temperature"
        humidity:
          name: "Office Humidity"
        address: 0x40
        update_interval: 60s

Configuration variables:
------------------------

- **temperature** (**Required**): The information for the temperature sensor.

  - **name** (**Required**, string): The name for the temperature sensor.
  - **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
  - All other options from :ref:`Sensor <config-sensor>`.

- **humidity** (**Required**): The information for the humidity sensor.

  - **name** (**Required**, string): The name for the humidity sensor.
  - **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
  - All other options from :ref:`Sensor <config-sensor>`.

- **address** (*Optional*, int): Manually specify the I²C address of the sensor.
  Defaults to ``0x40``.
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
  sensor. Defaults to ``60s``.

See Also
--------

- :ref:`sensor-filters`
- :doc:`absolute_humidity`
- :doc:`tee501`
- :doc:`ee895`
- :doc:`dht`
- :doc:`dht12`
- :apiref:`hte501/hte501.h`
- :ghedit:`Edit`
