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: Closing the Hood
1. Check under the hood area to make certain all filler caps are in place and
all loose items (e.g. tools, oil containers, etc.) have been removed.
2. Lift the hood, grasp the padded area on the support rod, and secure the support
rod in the clip. Verify that the support rod is secured in the c ...
Mazda 6 Owners Manual: Cruise Control (Some models)
With cruise control, you can set and automatically maintain any speed of more
than about 25 km/h (16 mph).
WARNING
Do not use the cruise control under the following conditions: Using
the cruise control under the following conditions is dangerous and could result
in loss of vehicle control.
...