Ball valve opens when I plug in the valve and then closes when I turn it on
The motor was installed while energized open. Pull the motor cotter pin and remove the motor. Rotate the ball stem 180' and realign the motor to the stem shaft and insert the pin.