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: Warning Indication/Warning Lights
These lights turn on or flash to notify the user of the system operation status
or a system malfunction.
*1 The light turns on when the ignition is switched on for an operation check,
and turns off a few seconds later or when the engine is started. If the light does
not turn on or remai ...
Mazda 6 Owners Manual: Multiplex communication system
Outline
In case the controller area network (CAN) system is malfunctioning, read
the DTCs of the following modules, using the SST (WDS or equivalent) to
determine the malfunctioning system.
- PCM
- DSC HU/CM (with DSC)
- ABS (ABS/TCS) HU/CM (with ABS (ABS/TCS)
- Instrument clus ...