three-way switch

noun

Definition of three-way switch

: an electric switch having three terminals used to control a circuit from two different points