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: Plastic Part Maintenance
When cleaning the plastic lenses of the lights, do not use gasoline, kerosene,
rectified spirit, paint, thinner, highly acidic detergents, or strongly alkaline
detergents. Otherwise, these chemical agents can discolor or damage the surfaces
resulting in a significant loss in functionalit ...
Mazda 6 Owners Manual: Trunk Lid
WARNING
Never allow a person to ride in the trunk: Allowing a person to ride
in the trunk is dangerous. The person in the trunk could be seriously injured or
killed during sudden braking or a collision.
Do not drive with the trunk lid open: Exhaust gas in the cabin of a vehicle
is dangerous. ...