In order to keep this at essentially the most simplistic level, your common house lamp is basically a turn on and turn off deal.
Low voltage lights are also for you to install. The yellow light simply takes advantage of the differences in human and insect eye-sight. https://www.Trademama.com/garage-lighting/suppliers.html