3 way valve temperature control