How do I install a Temperature Pressure Release (TPR) valve on my water heater and meet California Code requirements? My gas water heater is over 40 years old and does not have a TPR valve. The only outlets on the water heater are the inlet cold water and outlet hot water pipes on top of the water heater. There is no fitting on the side of the water heater. The water heater works fine and there is no leaking.