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: Driving In Flooded Area
WARNING
Dry off brakes that have become wet by driving slowly, releasing the accelerator
pedal and lightly applying the brakes several times until the brake performance
returns to normal: Driving with wet brakes is dangerous. Increased stopping
distance or the vehicle pulling to one side when ...
Mazda 6 Owners Manual: Direct Mode
Direct mode can be used for temporarily switching gears by operating the steering
shift switch while the vehicle is being driven with the selector lever in the D
range.
While in direct mode, the D and M indication illuminate and the gear position
in use is illuminated. Direct mode is canceled ...