dimmer switch

The switch doesn't need to be grounded. It simply completes the headlight circuit.