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: Contact Authorized Mazda Dealer and Have Vehicle Inspected
If any of the following warning lights or the indicator light turns on/flashes,
the system may have a malfunction. Contact an Authorized Mazda Dealer to have your
vehicle inspected.
...
Mazda 6 Owners Manual: Fuel-Filler Lid and Cap
WARNING
When removing the fuel-filler cap, loosen the cap slightly and wait for
any hissing to stop, then remove it: Fuel spray is dangerous. Fuel can burn
skin and eyes and cause illness if ingested. Fuel spray is released when there is
pressure in the fuel tank and the fuel-filler cap is re ...