The requirements of Art. 404 apply to all types of switches including snap (toggle) switches, dimmer switches, fan switches, knife switches, circuit breakers, occupancy sensors, and automatic switches ...
A light switch is the simplest of electrical devices. Flip the switch, electricity flows. Flip it again, electricity stops.