Skip to content

HTU31D Temperature & Humidity Sensor

The HTU31D Temperature & Humidity component allows you to use HTU31D sensors with ESPHome. The I²C Bus is required to be set up in your configuration for this sensor to work.

Example sensors:

HTU31D Temperature & Humidity Sensor. Image by [Adafruit](https://www.adafruit.com).
# Example configuration entry
sensor:
- platform: htu31d
temperature:
name: "Temperature"
humidity:
name: "Humidity"
  • temperature (Optional): The information for the temperature sensor. All options from Sensor.

  • humidity (Optional): The information for the humidity sensor. All options from Sensor.

  • update_interval (Optional, Time): The interval to check the sensor. Defaults to 60s.