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: Headliner removal/installation
1. Disconnect the negative battery cable.
2. Turn the seaming welt and weatherstrip over.
3. Remove the sunroof seaming welt. (vehicles with sunroof only)
4. Remove the A-pillar trims.
5. Remove the B-pillar upper trims.
6. Remove the C-pillar trims.
7. Remove the front and rear map light. (Se ...
Mazda 6 Owners Manual: Dual proportioning valve replacement (without abs)
1. Remove in the order indicated in the table.
2. Install in the reverse order of removal.
Dual Proportioning Valve Installation Note
Install the dual proportioning valve so that the R mark faces the left side
of the vehicle.
...