The white wire is wrapped with black tape to identify it as hot. The black wire connects the fan to the speed controller. The red wire connects the light to the dimmer.
This ground fault circuit interrupter wiring diagram of the same device leaves the switch out of the protected circuit. With this arrangement the receptacle is protected but the switch remains outside the circuit. This arrangement can be used to control a light or other device where the extra protection of a gfci is not necessary.
Here one ground fault circuit interrupter protects multiple duplex receptacles coming after it, known as multiple-location protection. Two-wire cable runs from the gfci to all the following receptacles. The line terminals on the gfci are connected to the circuit source and the load terminals are connected with a pigtail splice to each of the following receptacles. This keeps each duplex connected directly to the gfci.
This diagram illustrates the wiring for multiple ground fault circuit interrupter receptacles with an unprotected duplex receptacle at the end of the circuit. The load terminals on the gfci are not used and the last receptacle is wired directly to the circuit source.