This was inspired by this design: https://www.thingiverse.com/thing:4671580
I designed it without the tabs on top with an extended tab at the front to catch on the bottom of the portafilter holder on the Breville Smart Grinder Pro.
The tab does not extend far enough to trigger the switch - it would need to be extended much further for that and I don't really care about triggering the button automatically.