Wiring a Ceiling Fan for Separate Control
I have recently replaced an old light fixture with a ceiling fan. The fan has the following wires: blue, green (ground), black, and white. I hooked the previous fan up fine with a wall switch; I just hooked the green to ground, black and blue to black, and white to wite. The fan worked like a charm. However, when I went to do thisthe same way, it worked, but the light switch did nothing. The ceiling has two white wires, a ground, and two black wires. What am I doing wrong?