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: Side protector removal
1. Pry the side protector end 20-30 mm {0.8-1.1 in} using a flathead
screwdriver or a razor.
Warning
Using a razor with bare hands can cause injury. Always wear gloves
when using a razor.
Note
The side protector is installed with double-sided adhesive tape.
If the side protector ...
Mazda 6 Owners Manual: A/c unit removal/installation
1. Disconnect the negative battery cable.
2. Discharge the refrigerant from the system. (See RECOVERY.) (See CHARGING.)
3. Drain the engine coolant. (See ENGINE COOLANT REPLACEMENT.)
4. Remove the dashboard. (See DASHBOARD REMOVAL/INSTALLATION.)
5. Remove the theft-deterrent control module. (See ...