Another way would be to get a NC and NO valve. Put the NO on the main line and the NC on the second line and wire them together. Then when relay command is sent it will shut off main line and turn on second line. I may go that route just to be safe. More crap to wear out though.

Brian
WOT Designs