You then splice all the white wires and all the ground wires in the switch box together.
Wiring an attic pull light fixture.
Hook up the outlet as you normally would.
Connect the hot wire to the brass screw and the neutral wire to the silver.
This additional cable is simply used as a power and switched leg.
Use wire nuts to connect the black wire from the 12 2 wire to the black or red wire in the attic fan the white wire to the white wire in the attic fan and the two ground wires.
I show the steps to install a pull chain light fixture.
9 install the fans.
To add an outlet to a light switch you start by making a pigtail using the hot wire the wire going to the fixture controlled by the switch and a third length of wire.