There are various switches used in a shower unit. The main switch will turn the power on or off, the thermal switch is used to cut out the element if it becomes too hot, a microswitch or flowswitch will will send a signal to the PCB when it senses the flow of water.