A device for supplying domestic hot water in which a thermostatically-controlled heating element is immersed within a tank of water