Issue with ENS160+AHT21 device - ESPHome

I am trying to connect ENS160+AHT21 to WeMos D1 Mini (ESP8266). Here is the code that I use:

And this is the output:

Why am I getting all those messages about AHT10 sensor and what should I do about this?

No clue if it’s related, but it looks to me you should use variant: AHT20 for an AHT21

Thank you for the suggestion. Unfortunately, it did not help.

this is an esphome issue…am having similar problems with this sensor, however when I connect it using arduino the sensor values are perfectly correct…

This resolved my issue. Thanks!