I have tried different models (dht22, …) in the config and also checked if the pullup has any impact. Temperature impact from other components, light, sun, whatever can get excluded (5cm cable outside the casing).
If you don’t get errors on logs, there’s not a lot to do. It’s crap. But usually temperature readings are reasonable and you can use calibrate_linear filter to improve results. Humidity readings are not accurate enough to be usable.
If you get 16.4 → 8.2, just throw it to the trash and get SHT.
How close is your sensor to the ESP board?
I first had the same thought. But I have created and printed a new casing which places the sensor completely outside of the case with >1cm space to the casing where the ESP is located in. So i thing that should be fine.