a light switch can be used to control a light