Adaptive lighting on one side

I pulled the air filter to get a good look inside the back of the light cluster and there are quite a few wires where the insulation has crumbled off in the intense heat in this country - so I ask myself, so I want to spend time finding which part is faulty, replace the entire lamp cluster, or have the little green light flashing whenever the headlamps are on...