Temperature and humidity sensors are often applied in combination.
Both sensors are installed within a weather and radiation shield.
The matt black undersides of the weather and radiation shield significantly reduces solar radation influxes on the temperature sensor inside.