There are various switches used in a shower unit. The main switch will start the flow of water or stop the flow, the thermal switch is used to ensure the unit operates safely, a microswitch or flowswitch will activate the pump when it detects the flow of water.