add light switch and auto light on/off