In typical South Orange County style, the GFI is in the garage, protecting 3 bathrooms & this mess, so at least there's that to be thankful for...
Did the bell box have busted-off-screw-in the-box-itis
The wall-wart on top wasn't wired to anything, I'm assuming there used to be a timer here, due to the bank of sprinkler valves..
What Bell box over 10 years old doesnt
have that if you try to change a device?? The main reason I prefer to use PVC Carlon boxes where I can...