AHT20 + BMP280 combined sensor

May it help someone. I could not find the readings of my AHT20 sensor. It was not available in the logs. I had to add a line with “variant”!
I found it here: https://community.home-assistant.io/t/communication-with-aht10-failed/399150/22

  - platform: aht10
    variant: aht20
    update_interval: 30s
    address: 0x38
    temperature:
      name: "Schuppentemperatur_A"
      id: aht20_temperatur
      accuracy_decimals: 1
      filters:
      - filter_out: 0.0
      - median:
          window_size: 3
          send_every: 3
          send_first_at: 1
    humidity:
      name: "Schuppenfeuchtigkeit"
      id: aht20_feuchte
      accuracy_decimals: 1
      filters:
      - filter_out: 0.0
      - median:
          window_size: 3
          send_every: 3
          send_first_at: 1
2 Likes