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: Recording of Vehicle Data
This vehicle is equipped with a computer which records the following main vehicle
data related to vehicle controls, operation, and other driving conditions.
Recorded data
Vehicle conditions such as engine speed and vehicle speed
Driving operation conditions such as accelerator and brake ped ...
Mazda 6 Service Manual: Air intake actuator inspection
1. Connect battery positive voltage to terminal D or F and ground to terminal
F or D of the air intake actuator.
2. Verify that the air intake actuator operates as shown below.
If not as specified, replace the air intake actuator.
...