Twist the 3 ground wires collectively in the very first box and safe them that has a wire nut. Then, connect the end from the shortest floor wire for the environmentally friendly terminal on the switch. If you are doing choose a dimmer switch, It's also wise to understand that https://louisqpnke.blogripley.com/35483223/smart-light-switches-can-be-fun-for-anyone