To do this method the wire from your wall circuit to your light has to have 3 wires.
Red black and white wires ceiling light wall switch.
If you don t have a ground wire leave the green screw unconnected.
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.
Connect black fan wire to the black ceiling wire.
Black wires always signify the positive or hot leg of the current while white wires signify negative also called neutral or return.
The black wire goes to the bundle of black wires.
The white wires on the fan go to the bundle of white wires.
Then the red wire in your box goes to the non white wire on your ceiling fan which is often blue.
Connect white wires together.
Split the incoming hot wire into a y and connect it to a terminal on each switch.
In the switch box.
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 have a ground wire connect the ground wire to the green screw.
When there is an extra hot wire it is red.
Connect the blue wire to the red wire.
The cable has a black wire which connects directly to the circuit and a red wire which connects to the switch.
This is a typical wiring setup for a 3 way light switch with black white red and ground wires.
Ceiling fixtures almost always have a black and white wire.
The standard way to power a split tab outlet is to run a three conductor cable to a wall switch.
Ground wires are either left bare or covered with green insulation.
Wiring a three way switch.