I am replacing my bathroom ventilation fan and moving it right above the shower area. According to code Fan needs to be on GFCI now.
Please take a look at picture near vanity wall.
On Left there are two switches, one for fan and one for light.
On right side, there is a GFCI outlet.
Currently, neither of the switches are on GFCI.
Although on same breaker circuit, GFCI outlet and switches are getting power from different lines (red lines in pictures)
There is a wall cavity between switch box and outlet box.
I am thinking of fishing short length of 14/2 NM cable (green line in 2nd picture)between switch box and outlet box and feed power to 2nd switch (for fan) from load side of GFCI outlet. This way fan will be protected by GFCI. No change for light switch wiring.
1st picture shows current wiring. 2nd picture shows proposed wiring. Red lines are supply lines. All cables are 14/2 NM cables.
Please let me know if I can do this or not. I am not sure if there are any violations in my plan.
If you can also explain how I should connect neutral and ground wires coming from green line to 2nd switch , I would really appreciate.
Additional details
Fan make/model : Broan-NuTone AE80B
GFCI outlet is on 15 amps breaker circuit.
GFCI outlet doesn't feed any other outlets. Only wire goes in it is supply line.