I dont know if the resistance is in the switch
there is a small stream of smoke coming just above the fanswitch