1. Shine an incandescent light (60 W)
on the solar radiation sensor from a distance of approximately 100 mm {3.94 in}.
2. Connect positive (+) lead to terminal A and negative (−) lead to terminal B of the solar radiation sensor.

, replace the solar radiation sensor.
Solar radiation sensor removal/installation
Ambient temperature sensor removal/installationMazda 6 Service Manual: Contact Authorized Mazda Dealer and Have Vehicle Inspected
If any of the following warning lights or the indicator light turns on/flashes,
the system may have a malfunction. Contact an Authorized Mazda Dealer to have your
vehicle inspected.
...
Mazda 6 Service Manual: Outside Temperature Display
When the ignition is switched ON, the outside temperature is displayed.
NOTE
Under the following conditions, the outside temperature display may differ
from the actual outside temperature depending on the surroundings and vehicle conditions:
Significantly cold or hot temperatures.
Sudden ...