Changed a light switch, it had 3 black wires. After changing the switch the light turns on and off with the switch but so did each of the receptacles in the rooms.
![I was going to replace this switch but it has 3 black wires and now I'm confused? The neutral and the ground are capped in the box. : r/AskElectricians I was going to replace this switch but it has 3 black wires and now I'm confused? The neutral and the ground are capped in the box. : r/AskElectricians](https://external-preview.redd.it/_krF4eww9PcvyB4WGQsKm4h6ADamRwjAwY4FsfO4qvE.jpg?width=640&crop=smart&auto=webp&s=991526b47f54f57166182d7a76ab5adf1c4c3481)
I was going to replace this switch but it has 3 black wires and now I'm confused? The neutral and the ground are capped in the box. : r/AskElectricians
![trying to replace this light switch but it has black, red, white, and an unused ground wire. do I pigtail the red and black and connect the ground/white as normal? : r/askanelectrician trying to replace this light switch but it has black, red, white, and an unused ground wire. do I pigtail the red and black and connect the ground/white as normal? : r/askanelectrician](https://i.redd.it/6cs1lhkjomma1.jpg)