1. Measure the temperature around the ambient temperature sensor.
2. Measure the resistance between terminals of the ambient temperature sensor.

Ambient temperature sensor removal/installation
Cabin temperature sensor removal/installationMazda 6 Service Manual: Dual proportioning valve inspection (without abs)
1. Connect the SSTs to the brake pipes as shown in the figure.
2. Bleed the air from the brake system.
3. Measure the fluid pressure of the master cylinder and the rear brake.
If not within the specification, replace the dual proportioning valve.
Fluid pressure
...
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 ...