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 Air Bags
The side air bags are mounted in the outboard sides of the front seatbacks.
When the air bag crash sensors detect a side impact of greater than moderate
force, the system inflates the side air bag only on the side in which the vehicle
was hit. The side air bag inflates quickly to reduce injury ...
Mazda 6 Owners Manual: Constant Monitoring
The following components of the air bag systems are monitored by a diagnostic
system:
Crash sensors, and diagnostic module (SAS unit),
Front air bag sensors
Air bag modules
Side crash sensors
Air bag/Front seat belt pretensioner system warning light
Front seat belt pretensioners
Re ...