Inlet and outlet and the 220v for the elements. The geothermal it tied into it but it is T'ed in higher up so it looks like just tie it in on those two pipes.
I think it is going to drain itself wither way.
We had a solenoid stick on our old washer once and that was a bear to move full of water. We had to move it because it backed itself up to the shutoff valve and couldn't turn the water off. We ended up turning the whole house off so we could drain the stupid thing.
Our pool is in dire need of vacuuming after the winter. We should get a good winter cover for it to keep the dust out when they plant the fields around us.