Simple cover for inline light switches as by many IKEA stand lamps.
The dimensions of the switch are roughly 60mm x 16mm x 19mm (LxHxW).
FreeCAD model attached for customization.
The author marked this model as their own original creation.