What is this?

Found this on an inspection last evening. Any ideas on what it is/was?

Thanks

It’s a solenoid water valve for something no longer in use.