What exactly is an optical switch? If you go by the mechanical switch definition, it is a mechanical switch that is triggered by a spring. Then the optical switch is actually a kind of mechanical switch.