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: Auto leveling control unit configuration
1. Connect the SST (WDS or equivalent) to the DLC-2.
2. Input vehicle information following the directions on the screen.
3. Select Module programming.
4. Select Programmable module installation.
5. When performing configuration corresponding to each auto leveling control
unit, select the fo ...
Mazda 6 Owners Manual: To Turn Off an Armed System
An armed system can be turned off using any one of the following methods:
Pressing the unlock button on the transmitter.
Starting the engine with the push button start.
(With the advanced keyless function)
Pressing a request switch on the doors.
The hazard warning lights will flash twic ...