stop coolant gooing to the heater core

I just spliced a valve into the hot water line, closed in the summer, open in the winter.