Ceiling fan changed out, it works, but not from the wall switch
Hello,
I replaced a light fixture with a ceiling fan. Today I redid the job because it wouldn't balance. Works great... but not from the wall switch any longer. Had to install a fan brace because the junction box was not very secure. No attic access. I have three white wires, three black wires and a ground coming from the ceiling. I have the usual black, white, blue and ground coming from the fan. When I took the light down, the three black wires were bundled together, two whites were capped off and not connected to anything, and one white was connected. I *have* identified which white wire makes the ceiling fan run with the wall switch off, but no matter what mix of wires I use (including what was there originally) the fan won't shut off at the switch. Any assistance would be appreciated.