There is described a method for controlling a liquid delivery system adapted to deliver a liquid in a container, comprising: receiving a desired temperature for a liquid to be delivered and a desired level of liquid within the container; adjusting a mixing valve connected to a source of hot liquid and a source of cold liquid to obtain the desired temperature; operating a flow control valve for delivering the liquid having the desired temperature and closing a drain closure system of the container and closing a drain closure device; monitoring a level of the liquid within the container; and closing the flow control valve when the monitored level of liquid substantially corresponds to the desired level of liquid.