If you have a ground wire connect the ground wire to the green screw.
Red black and white wires ceiling light wall switch.
This is a typical wiring setup for a 3 way light switch with black white red and ground wires.
The standard way to power a split tab outlet is to run a three conductor cable to a wall switch.
Connect the black wire to the other brass screw.
When there is an extra hot wire it is red.
Ground wires are either left bare or covered with green insulation.
To do this method the wire from your wall circuit to your light has to have 3 wires.
In the switch box.
Connect the blue wire to the red wire.
The white wires on the fan go to the bundle of white wires.
Black wires always signify the positive or hot leg of the current while white wires signify negative also called neutral or return.
Connect white wires together.
Then the red wire in your box goes to the non white wire on your ceiling fan which is often blue.
The red wire as a spare wire when a ceiling fan is not installed this spare red wire is insulated with electrical tape or capped off with a wire nut.
The black wire goes to the bundle of black wires.
Connect black fan wire to the black ceiling wire.
The wall switch typically when a ceiling fan is installed the red wire is most commonly used for the light and the black is commonly for the fan motor.
If you don t have a ground wire leave the green screw unconnected.
The cable has a black wire which connects directly to the circuit and a red wire which connects to the switch.
The ground wire also connects to the switch but the white wire gets spliced to the circuit neutral wire and bypasses the switch.
Wiring a three way switch.