As a precautionary safety measure, grounding light switches have become ubiquitous. Connecting a light switch to the power supply is lawful without using the ground. Traditional toggle switches do not require a ground wire, but dimmers do. Leaving a ground wire unconnected to any switch is not a good idea.