About the only predator that is affected by lights suddenly coming on is the human kind. I've watched raccoons and foxes and bears behave totally unconcerned and unaffected by light, including a strong flashlight beam right in the eyes. "Pffft!" they say. "Go ahead and light up the joint, so much easier to see what we're doing!"
The only real deterrent to predators is an electric hot wire. And to be sure a thick fur-coated predator is made "aware" of it, I place some peanut butter on the wire to invite some "interaction". For predators in the cat family that aren't suckers for peanut butter, I will encase a piece of mackerel in a little cage of chicken wire and wire it to the hot wire (while it's shut down.)
The mackerel worked just splendidly this past fall when a bobcat got a hen and returned for another. It hasn't returned since it got a "taste" of the electrified fish. (10,000 volt fish.