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: Moonroof (Some models)
The moonroof can be opened or closed electrically only when the ignition is switched
ON.
WARNING
Do not let passengers stand up or extend part of the body through the open
moonroof while the vehicle is moving: Extending the head, arms, or other parts
of the body through the moonroof is dan ...
Mazda 6 Service Manual: Head Restraints
Your vehicle is equipped with head restraints on all outboard seats and the rear
center seat. The head restraints are intended to help protect you and the passengers
from neck injury.
WARNING
Always drive with the head restraints installed when seats are being used
and make sure they are pro ...