Disclaimer: heavily inspired by Sonoff basic enclosure by Dan Rogers https://www.printables.com/model/238516-sonoff-basic-enclosure-for-different-types-of-powe
This enclosure for the Sonoff Basic switch uses a 16mm push button which is easier for frequent uses than the original button. Personnally I flashed the board with ESPHome and wired the button between GND and GPIO14 (available on the programming pins row), but you can solder the wires to the original button if needed.
I made the box as slim as possible, which means trimming the original button by 1-2mm.
You will need 2 M3 screws and 2 zip ties.
The author marked this model as their own original creation.