Twist the three ground wires alongside one another in the 1st box and safe them with a wire nut. Then, connect the top in the shortest ground wire towards the green terminal to the switch. If you need to do opt for a dimmer switch, It's also advisable to are https://lanedypfx.thekatyblog.com/33448066/5-simple-statements-about-smart-power-points-and-switches-explained