Yeh i’ve done both mate, covered and then even turned them on manually and still not got the headlight error code… So must be something intermittent i’m guessing?
By the way, I just re-read your original post, you said it happens quite often in the dark.
Now I get that you were trying to duplicate the situation by covering the light sensor, sorry.