AHT10 Temperature+Humidity Sensor

The aht10 Temperature+Humidity sensor allows you to use your aht10 (datasheet) i2c-based sensor with ESPHome.

../../_images/aht10-full.jpg

AHT10 Temperature & Humidity Sensor.

../../_images/temperature-humidity.png

Note

When configured for humidity, the log ‘Components should block for at most 20-30ms in loop().’ will be generated in verbose mode. This is due to technical specs of the sensor and can not be avoided.

# Example configuration entry
sensor:
  - platform: aht10
    temperature:
      name: "Living Room Temperature"
    humidity:
      name: "Living Room Humidity"
    update_interval: 60s

Configuration variables:

  • temperature (Required): The information for the temperature sensor.

    • name (Required, string): The name for the temperature sensor.

    • id (Optional, ID): Set the ID of this sensor for use in lambdas.

    • All other options from Sensor.

  • humidity (Required): The information for the humidity sensor

    • name (Required, string): The name for the humidity sensor.

    • id (Optional, ID): Set the ID of this sensor for use in lambdas.

    • All other options from Sensor.

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