The unit has what is called a 3-way valve and is operated by a solenoid, depending on the age of the unit LG can let you know the part number for you to order this valve.
The 0E fault code means it cannot drain away the water used during its last cycle, please check to see if there is a bend in the outlet hose or of the drain to pump is clogged with food or grungy grease from cooking oils washed off the items, I hope this helps.....