The coming home light turns on the headlights (low beams) when the lever is operated.
To turn on the lights
When the lever is pulled with the ignition switched to ACC or OFF, the low beam headlights turn on.
The headlights turn off after a certain period of time has elapsed after the doors are closed.

NOTE
Flashing the Headlights
Leaving Home LightMazda 6 Owners Manual: Selector lever inspection
1. Turn the ignition switch to ON (engine OFF).
2. With the brake pedal depressed, verify that there is a "click" at each
range when shifted.
3. Verify that the selector lever can be shifted.
4. Verify that there is a "click" at each position when shifted from P
position to L range.
5. Ver ...
Mazda 6 Owners Manual: Combine sensor removal/installation
Caution
Be careful and do not allow the combine sensor to fall. If by
chance it is subjected to strong impact, replace it.
1. Remove the center console.
2. Remove in the order indicated in the table.
3. Install in the reverse order of removal.
4. After installation, perform the comb ...