Valves for Dish washers and washing machine