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: Supplemental Restraint System Components
(With Front Passenger Occupant Classification System)
(Without Front Passenger Occupant Classification System)
Driver/Front passenger inflators and air bags
Roll-over sensor (some models), crash sensors, and diagnostic module (SAS
unit).
Seat belt pretensioners
Front air bag sensor ...
Mazda 6 Owners Manual: Panel light control switch inspection
1. Connect the connector to the panel light control switch.
2. Connect the negative battery cable.
3. Measure the voltage at the panel light control switch using voltmeter.
When inspecting terminal B for continuity, disconnect the panel light
control switch connector.
4. If the value are ...