Box for switch with an overall size of 1.5x1x1.7cm and a hole size of 1.35x0.8cm.
An example link:
https://www.aliexpress.com/item/5-x-AC-250V-3A-2-Pin-ON-OFF-I-O-SPST-Snap-in-Mini-Boat/32790891876.html
To attach it you can use glue or, as i did, a pair of 2.5M screws.
No need of supports.
Switch_holder.stl | 85.0KB |