Turn off a switch when another switch is turned on