Using an AH10 for low cost humidity and temperature measuring
As usual, paste this code in esphome gui to program your esp (If you use AHT20 use adequate value) :
sensor:
- platform: aht10
id: aht10_sensor
variant: AHT10
update_interval: 60s
temperature:
name: "AHT10 Temperature"
id: aht10_temp
humidity:
name: "AHT10 Humidity"
id: aht10_humi
After restart you should be able to use this new sensor in Home Assistant :
Leave a Reply