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

Cabin temperature sensor removal/installation
Evaporator temperature sensor removal/installationMazda 6 Service Manual: Cargo compartment light switch inspection
1. Remove the liftgate lower trim. (See LIFTGATE LOWER TRIM
REMOVAL/INSTALLATION)
2. Disconnect the cargo compartment light switch connector.
3. Inspect for continuity between the cargo compartment light switch
terminals using an ohmmeter.
If not as specified, replace the liftgate lock.
...
Mazda 6 Service Manual: Liftgate side trim removal/installation
1. Remove the liftgate upper trim.
2. Position the strap hanger as shown in the figure.
3. Pull the liftgate side trim toward you, then disengage clips A, pin B and
the strap hanger from the body and pin B, hook C, D from the liftgate lower
trim.
4. Remove the liftgate side trim.
5. Remo ...