SHT31 inaccurate reading

Hello guys,

I'm looking for some help with temperature sensors. I have ordered sht31 for using it to control the temperature in my flat, but it is at least 2 °C off compared to my thermometers directly next to it. The sht31 is on a separate board, away from any heat source. I see others have really decent readings with them (even inside ±0.1°C) out of the box, and this is what I would expect from a sensor that is factory calibrated.
Do you have experience with these modules? Maybe mine is defective?

Thanks in advance for the comments!

The SHT31 I have shows within 0.3° of a known accurate thermometer I use in HVAC work, how do you know your other thermometers are correct? You can offset the SHT31's reading in code if you don't trust it, post your code.

Hi,
I have compared the reading to two commercial thermometers, one in a weather station and one in a thermostate. They both show a similar value.
The code is just the adafruit sample for sht31. I'd like to avoid compensating the reading in the code, as these sensors should be factory calibrated.

Aaand you are right.
I have managed to get two lab thermometers with 0.5°C graduation, and the SHT31s are definitey inside the 0.3°C tolerance.