The temperature sensor is sensitive to surrounding temperatures. It is recommended to avoid overloading host device to keep it cool. So please ensure air flow to the sensor, e.g., open enough ventilation holes for the sensor and the host board. Besides, relative humidity is being calculated by using temperature reading. So, the temperature is also affecting relative humidity readings.