I made a simple single din module that can holds 2 various type of shelly.
I recommend this settings
0.2 Layer Height
3 walls
10% Infill giroid
I printed this in ASA
Disclaimer
Shelly are not suitable for electric panel, I do not assume any responsibility for the use you make of this STL.