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: Floor Mat
We recommend the use of Genuine Mazda floor mats.
WARNING
Make sure the floor mats are hooked on the retention pins to prevent them
from bunching up under the foot pedals: Using a floor mat that is not secured
is dangerous as it will interfere with the accelerator and brake pedal operation,
...
Mazda 6 Owners Manual: Active Driving Display (Some models)
WARNING
Always adjust the display brightness and position with the vehicle stopped:
Adjusting the display brightness and position while driving the vehicle is dangerous
as doing so could distract your attention from the road ahead and lead to an accident.
CAUTION
Do not try to adjust the ...