MKR wifi 1010 and AHT10

Hi @michalbielawski. Please provide more details about this "AHT10" library. I need to be able to reproduce your problem before I can help you out with it.

Where did it come from? Did you import it into Arduino Web Editor, or is it one of the libraries that are pre-installed in Arduino Web Editor?