The trap here is replacing a control that was never at fault.
What the control does
It senses water temperature and switches the heat source. On electric units there are two, upper and lower, with the upper also protecting the elements from a dry start.
How they fail
- Open: no heat at all despite good supply.
- Out of calibration: water hotter or cooler than the setting.
- Sticking: erratic temperature, sometimes scalding.
What mimics a failure
Deposit. At this hardness, scale forms on the tank floor and around the sensing element. The control reads a temperature that is not the water's, and behaves accordingly.
So the sequence is: prove supply, prove the element, inspect for scale, and then test the control.
Replacing it
Isolate, confirm dead, drain if needed, replace, refill before restoring power. On electric units, replace upper and lower together.
When scale is the real problem
If the tank is heavily coated, a new control will read just as wrongly. Flush and descale, or plan a replacement.
What to have ready
Fuel, symptom, set point.