I speculate as to the listing, and the location.
A large part of my speculation is based upon my knowledge of testing methods ... and the fact that everything after the transformer is low voltage.

The underside of the unit has a knockout that can be used to attach conduit. The same firm makes units for hard-wiring (no wall wart); I assume they just used the same case on both products.
FWIW, I find these "Virtual Rain (IIRC)" controllers to be both cheaper than, and superior to, the better known "Rain Bird" brand.

Locating a receptacle in a passageway - as this one is - is always problematic.