Valve incorporating temporary phase change material