Dimmer switch:

A device to decrease or increase the brightness of the headlights by switching from high beam to low beam and vice versa.