Connect the ground wire to the electrical box itself there should be a screw at the back or side of the box.
How to wire a wall light with pull switch.
Twist a wire connector onto to one black wire from the switch and onto the black wire from the light fixture connecting them together.
Here is a picture gallery about how to wire a pull cord light switch diagram complete with the description of the image please find the image you need.
Install the new pull cord switch.
Wiring lights in parallel with one switch diagram how to wire within how to wire a pull cord light switch diagram image size 500 x 500 px and to view image details please click the image.
At your new wall switch pull all the wires through the back of the electrical box.
Wrap 1 1 2 inches of black electrical tape around the white wire of the romex at both ends just behind the bare wire.
All a switch does is break the connection of the hot wire and reconnect it to turn the light on.
After you have run the romex from the fixture to the box that will hold the wall switch it is time to connect the wires.
Thread the collar of the pull cord switch through the opening in the light fixture and attach the retaining nut to hold the switch in place.
Strip 5 8 of insulation from either end of each wire.
Strip black and white wires as in step 5.
Discard the old switch.
So one of your switch wires should be attached to the black wire of the light and the other switch wire should be attached to the hot supply wire.