Water valve for heating and cooling systems