an electrical wiring diagram with two different types of switches

Responsive image
source