A light switch is the simplest of electrical devices. Flip the switch, electricity flows. Flip it again, electricity stops. Lights on, lights off. That’s great for a small room with one entrance.