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: To Decrease Cruising Speed
Press the SET/ switch and hold
it. The vehicle will gradually slow.
Release the switch at the desired speed.
Press the SET/ switch and release
it immediately to adjust the preset speed.
Multiple operations will decrease the preset speed according to the number of
times it is operated.
Decr ...
Mazda 6 Owners Manual: Front upper arm removal/installation
Caution
Performing the following procedures without first removing the ABS
wheel-speed sensor may possibly cause an open circuit in the harness if it
is pulled by mistake. Before performing the following procedures, remove the
ABS wheel-sensor (axle side) and fix it to an appropriate pl ...