I had an associated issue with my M3W which seems to have cured itself. The hazard warning lights would come on uncommanded. Turning the hazard switch on then off fixed the issue which happened on at least three occasions during first few months of owning this 2016 car.
When others mention similar faults involving running of engine, fuel pump etc., it leads me to believe the functioning of the TSM headlight/flasher unit is heavily integrated with the ECU!
FWIW the flasher unit is fed by fuse 10 (5amp) green wire. Colour codes seem to follow normal convention with fused feed green, L/H indicators green/white and R/H green/red.
2018 Roadster - Red/Magnolia - "Morton"
1967 Land Rover series 2a SWB
1960 Velocette Venom