Ceiling Fan in-op when connected to switch
Ok my hubby is trying to connect a ceiling fan on to a light switch that is already dedicated to a plug in the room. He split the conduit in the attic to feed the ceiling fan but when you turn off the switch the plug turns off (along with the night light that is plugged in) but if you pull the chain of the fan the night light turns on ( plugged in to the wall) and it switches to a 3 way dimmer like the fan would change speeds but the fan doesn't work at all.
INSIDE SWITCH
2 wire with 1 black wire 1 white wire and a bronze ground wire (this is not being used)