I had a remote ceiling fan that went bad. I replaced it with a plain light fixture.
I have five wires coming out of the ceiling: 2 white, 2 black and 1 red. I hooked up the wires to the new light (black to black white to white).
The light works but the switch won't switch it off. I next tried to hook the red to the other four black ones and the light still stays on.
What else can I do to make it switch off?