Exactly why I order a set.
Right there with you.
I’ve used magnets in the past to enable things, like direction connection of a circuit (which is what this is) but, I didn’t have a bracket.
I’ve used Hall effect sensors in the past as well. They can give you different values depending on the strength of the magnetic field.