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: Fuel-filler lid and opener removal/installation
1. To remove the fuel-filler lid opener, remove the left side trunk side trim
(4SD) or trunk side lower trim (5HB).
2. To remove the fuel-filler lid opener cable, perform the following and turn
over the floor covering.
(1) Remove the driver-side front seat.
(2) Remove the driver-side fron ...
Mazda 6 Owners Manual: Front door glass removal/installation
1. Operate the front door glass so that the distance from the top of the
front door glass to the upper part of the rear beltline molding is 210 mm
{8.3 in}.
2. Disconnect the negative battery cable.
3. Remove the front door trim.
4. Remove the hole cover.
5. Remove the screws.
6. Insert ...