4 push on connectors, and likely 2 have a thick cable to them, and 2 have thin cabling to them. That would likely be a very common potted relay, though to make sure we would need a photo of the writing that is on the side of the device which is not in the photos. The ground next to it is for the cable to ground the plate to either the mains wiring and or the rest of the unit.