Add a switch to turn on and off the light, trigger when a threshold is crossed.