That is indeed an electronic automatic drain possible rebranded by Midwest control for RTI. There is also a knurled fitting on the end that can be removed and within it is a stainless steel screen which protects the solinoid valve. You can clean it and reinstall it. You can also get a bell 1/2”...