NOTE
It is recommended that a new battery be placed in the hand-held transmitter of the device being programmed to HomeLink for quicker training and accurate transmission of the radio-frequency signal.
Mazda 6 Owners Manual: Electrical parts
Battery cable
Before disconnecting connectors or removing electrical parts, disconnect
the negative battery cable.
Wiring Harness
To remove the wiring harness from the clip in the
engine room, pry up the hook of the clip using a
flathead screwdriver.
...
Mazda 6 Owners Manual: Front and rear fog light switch inspection
Light switch LH side
1. Remove the light switch. (See LIGHT SWITCH REMOVAL/INSTALLATION.)
2. Inspect for continuity between the light switch terminals using an
ohmmeter.
If not as specified, replace the light switch.
Light switch RH side
1. Remove the light switch. (See LIGHT SWITCH ...