A 3 wired electrical fixture includes positive, negative and ground. The ground can be attached to one of the screws in the wall. In the case of the other wires, matching the colors, twisting and capping the wires together will handle the electrical installation.
Chat with our AI personalities
On what? IS this an outlet or a switch?
If there is a black wire going from the outlet to the switch and the other side of the switch goes back to the outlet then just cut these wires and connect supply wire directly to outlet. If the supply goes to the switch first, disconnect from switch and connect the two wires with a wire-nut. Some situations only switch one of the two outlets in a duplex device. Do the same thing, but also replace the outlet since the strapping between both outlets has been removed.
The green ground wire should be attached directly to the junction box. That is the metal housing where the house wires enter the outlet.
Use a voltage tester held next to the wire. Turn the switch off. If the tester stops beeping then the wires are on that switch.
Power into the first outlet and out to all other outlets, black to gold and white to silver screw, ground wires to ground screw. From the outlet closest to the light switch run power from that outlet up to the switch box. Run another wire from the switch box up to the light. In the switch box tie all the whites together under a wire nut and push them back into the box. Tie all the ground wires together and connect that to the ground screw on the switch. Connect the 2 black wires you have left to the 2 screws on the switch. Does not matter which if you only have power in and power out to the light.