Temperature control for electric boilers