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: Operating Tips
Operate the climate control system with the engine running.
To prevent the battery from being discharged, do not leave the fan control
dial/switch on for a long period of time with the ignition switched ON when
the engine is not running.
Clear all obstructions such as leaves, snow and i ...
Mazda 6 Owners Manual: Crash zone sensor removal/installation
Warning
Handling the crash zone sensor improperly can accidentally deploy the air bag
module and pre-tensioner seat belt, which may seriously injure you. Read AIR BAG
SYSTEM SERVICE WARNINGS before handling the crash zone sensor. (See SERVICE
WARNINGS.)
1. Turn the ignition switch to LO ...