Short power juddery cuts can set these to permanently ON. Voltage dips when a motor ( such as a hoover ) can have the same effectAnother option is that some types of security lights come with internal electronic control that allows the lights to be toggled on or off by means of quickly cycling the circuit breaker,
Sensors without this over-ride function and the use of 3 core + earth ann over ride switch is the better option.