The fan switch what does the gray wire connect to
Which fan switch? Can you upload a picture of the switch and wiring?