View attachment 45029
Looks to me as in most modern VAG cars and especially Audi's the reading of sensors and switches is done either by discrete voltage levels being presented by the switch to the module or more likely a digital bus connection is being used to read in the data.
On the Headlight switch the brown is the 0v , grey / violet the positive feed to the switch , I would say the green wire is the headlight switch position and the violet / green the info on the light level position which is mixed with the readings from the rain and light sensor or humidity sensor depending on the options in the car. Unfortunately it's not a simple voltage level that can be read.
Karl.