Faulty limit switch I would guess. This is the flat switch attached to the headlamp motor on each side - it should break the circuit when the headlamp reaches the up position, thus stopping the headlamp pod in the correct position. It has the same operation when closing the headlamps. The headlamp motor only moves in one direction, making a cycle of 360 degrees, the limit switch stops the motor in the correct place during the up/down cycle.
These switches do get corroded over time. Might be worth taking the cover off & cleaning the contacts inside to see if it fixes the problem. Take care to seal it again, as it is exposed to water & general cr*p off the road.
If this doesn't fix it, Robsport are selling new (reconditioned) limit switch/motor assemblies at the moment. You might find a new limit switch on it's own but they are not easily available.
Tony
<font size="1">1981 2L FHC Cavalry Blue
1980 3.5L V8 DHC Jaguar Regency Red</font id="size1">