two switches two lights and extra wire
I have one wire gcoming from a light, one coming from the fan, one bringing in the power, and one that goes to the attic. When the wire with power is connected directly to the wire to the attic, I have power to my garage door opener. I now have the wire with power (black) pigtailed to the switches. The black wire from the light to one switch and the the black from fan to other switch. The wire from the attic is directly connected to the blacks, whites, and ground. Now with power turned on the light will switch on and off, the fan staysb on regardless of the switch, and the garage only opend when thye light switch is turned on. Please help!