go ahead and take free stop of the remaining 8-inch black wire and link it into the black wire within the dimmer swap, using a wire connector.
Mark the wall straight out from this “knockout” plug. utilize a stud https://medium.com/@thankful_quartz_chinchilla_746/effortless-illumination-advantages-of-motion-sensor-cabinet-lights-496dcf828e0e