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: No.6 windshield fogged
When performing an asterisked (*) troubleshooting inspection, shake the
wiring harness and connectors while doing the inspection to discover whether
poor contact points are the cause of any intermittent malfunctions. If there
is a problem, check to make sure connectors, terminals and wir ...
Mazda 6 Service Manual: Headlight bulb removal/installation
Low-beam
Halogen type
1. Disconnect the negative battery cable.
2. Disconnect the front combination light. (See FRONT COMBINATION LIGHT
REMOVAL/INSTALLATION)
3. Remove in the order indicated in the table.
Caution
A halogen bulb generates extremely high heat when it is used. If
the ...