Most every washing machine has two controls that together will do the trick quite nicely. Washing machines control the water supply with an electric solenoid valve. They use a pressure switch to control the water level in the tub. Those two devices together are what is needed. The solenoids are on the back of the machine. The pressure control is most often in the top of the machine with the other controls.