Pulse width modulation is a form of control that these switches use to change the amount of power going into the light bulb. This allows for more precise control over how much power goes to the light bulb and when it works. Since dimming is done by switching between an on and off state, it can be easy to make mistakes and end up with too bright or too dark lighting.