Mine was doing this for quite a while a few months ago, then headlights adjusted themselves so beam was pointing down towards the floor and light then stayed on permanently, I got it checked out and it was the front sensor on the front suspension, got a second hand sensor and got it fitted it's been fine ever since, the new sensors are a fortune from a main dealer