The Caliper Toggle Switch Mod from PartayPat worked perfectly for me, but I didn't like the opening, so I made a cover for it, which had just enough space for the switch.
Made with onshape. Feel free to modify to your own needs: link
caliper-switch-guard.step | 48.5KB | |
caliper-switch-guard.stl | 7.0KB |