This is a custom designed case for holding electronics of Smart & Simple EV charging station's sensor. The case is ready to be used on metal and plastic DIN rails, clips are exchangeable, top (side) cover is held in place by notches.
Clip clicks into place, either when unlocked (to be removed from rail) or when locked (holds part in place).
This model unfortunately can't be printed completely without supports. You need to enable them at least for the part where clip comes mounted.