Sun, and sol-air temperature
The air temperature alone does not describe what a wall experiences outside. A dark wall in sunshine can be far hotter than the air next to it, and in winter it gains useful warmth. A clear night sky, meanwhile, can pull heat off a flat roof.
Rather than model the sun separately, building physics uses a neat shortcut, the sol-air temperature: a made-up outdoor temperature that would push the same amount of heat into the wall as the real air temperature plus the real sunshine does together. It is the air temperature plus a bonus for the heat the surface absorbs from the sun:
Absorptance is how much of the sun's energy the surface soaks up: about 0.3 for pale colours, 0.55 for mid tones and 0.85 for dark ones. As an example, a mid-coloured wall in 500 W/m² of sunshine gets 0.55 × 500 × 0.04 = 11 K of bonus on top of the air temperature. A dark wall would get 17 K.
That is why the same wall behaves so differently facing south or north, in a heatwave or under cloud, painted white or painted black.