Subaru Forester: Light control switch / Sensor for the auto on/off headlights

The sensor is as shown in the illustration.
CAUTION
If any object is placed on or near the
sensor, the sensor may not detect
the level of the ambient light correctly
and the auto on/off headlights
may not operate properly.
High beam
Low beam
When the headlights are on high beam, the
high beam indicator light on the
combination meter is also on...
Other information:
Headlight switch
Fog light switch
The front fog lights will turn on when the
fog light switch is placed in the
position
while the headlights are in the following
condition.
The headlight switch is in the
position with the low
beam mode selected...
If this light illuminates when the engine is
running, it may indicate that the charging
system is not working properly.
If the light illuminates while driving or does
not turn off after the engine starts, stop the
engine at the first safe opportunity and
check the alternator belt...