ornamental security light
No, in fact most motion detectors require a switch to be able to take advantage of the override function they have. Typically, flipping the switch off and back on a number of times puts a motion detector light into override mode.