Changing light fixture wires (red, black and white?)
Trying to hook up ceiling light/fan. Switch on wall controls 1/2 of an outlet. Black wires on back and bottom of side of switch, red on side at top, white together with nut, of course ground on green screw.
I put the 2 blacks and red from switch together with a black pigtail in a wire nut. Then put pigtail on bottom of switch. Took black from fixture to side screw, red from fixture to top screw of side.
The receptacle is now unswitched which is good. However, ceiling fix. Works but light is not operating by switch. How do I fix this? I know I will have to pull chain for fan, but switch should operate light