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: Storage Compartments
WARNING
Keep storage boxes closed when driving: Driving with the storage
boxes open is dangerous. To reduce the possibility of injury in an accident or a
sudden stop, keep the storage boxes closed when driving.
Do not put articles in storage spaces with no lid: Putting articles
in storage sp ...
Mazda 6 Owners Manual: Power window main switch inspection
Drivers side
1. Remove the driver-side front door trim.
2. Connect the power window main switch connector.
3. Measure the voltage at the power window main switch terminals as indicated
below.
4. Disconnect the power window main switch connector before inspecting for
continuity at terminals 1 ...