1. Disconnect the negative battery cable..
2. Remove the front bumper..
3. Disconnect the connector.

4. Remove the ambient temperature sensor.
5. Install in the reverse order of removal.
Ambient Temperature Sensor Inspection [Manual Air Conditioner]
Ambient Temperature Sensor Removal/Installation [Manual Air Conditioner]Rear Window Defroster/Outer Mirror Heater
Outline
Fogging is cleared from the rear window and outer mirror glass by heating
of the filament.
Structural view
System wiring diagram
Vehicles with full-auto air conditioner system
Vehicles with manual air conditioner system
Construction
Rear window defroster
...
Fuel and Engine Exhaust Precautions
Fuel Requirements
Vehicles with catalytic converters or oxygen sensors must use ONLY UNLEADED FUEL,
which will reduce exhaust emissions and keep spark plug fouling to a minimum.
Your Mazda will perform best with fuel listed in the table.
Fuel with a rating lower than 87 octane (91 RON) could ...
Crash Zone Sensor Removal/Installation [Standard Deployment Control System]
WARNING:
Handling the crash zone sensor improperly can accidentally deploy the air
bags and pre-tensioner seat belts, which may seriously injure you. Read the
air bag system service warnings and cautions before handling the crash zone
sensor..
1. Switch the ignition to off.
...