Automating pool equipment, turning Jandy valves (remote control hot tub) - complete

I’m doing this from memory on a project I finished a year ago, so hopefully this is all right.

The wiring to the pump and the heater is pretty simple. They both run on 240v, so I wired each one like the following to break one leg of the 240v circuit. I also did some examination of the way the 240v breaker was set up so that I was powering the switch with the hot leg that was paired with the neutral bar for other circuits, if that makes sense.

Many won’t recommend this setup because it can give the impression that a circuit is dead with the switch off, when in fact one of the legs is always hot. This is not a recommended practice, but as far as I have found in my googling it’s not against code either. The ideal setup would use a double pole switch to disconnect both legs, but I don’t think there are any smart switches available like this, so this was my next best option. You could probably incorporate the smart switch with a DPST relay to achieve the same effect if desired.

Here’s the wiring setup for the valves. It requires a separate 120vac SPDT relay for each valve. I originally tried to run both valves off of a single relay but the internal limit switches on the valves didn’t work right when I did this, so I separated. Manual says to separate as well.