Twist the a few floor wires jointly in the 1st box and protected them by using a wire nut. Then, join the top from the shortest floor wire on the green terminal over the switch. ✅ You have a precise function in your mind: This is a simple switch, and https://dantepkcys.anchor-blog.com/15133446/smart-light-switches-fundamentals-explained