Can't rule out a sensor aka thermistor without getting to play with it . However my money is on the likelihood that your diverter valve is malfunctioning.
A diaphragm replacement may be all that is required.
When you turn the tap on does the pin move out and activate the microswitch
Slugbabydotcom
November 2007