Its on the front of the diverter valve assembly. The microswitch has two wires into it. Microswitch is held on by clip. Pin should pop out when hot tap turns on. probably not this but best to check basics first. Have you checked the motorised valve is ok on top of diverter valve?