https://www.homedepot.com/p/Defiant...eqBPLmlxj1YQKaGYTHhoCCbgQAvD_BwE&gclsrc=aw.ds
Im am not good at figuring out how to edit a picture. I included a link for a motion sensor from Home depot.
Black is Line (constant power feeding sensor )
Red is Load (power out from sensor when motion is detected)
White is neutral connection.
Do not confuse these colors with the colors on the switches
Like I said in earlier posts, I have done something similar with photo eyes in the past, and it worked with out a problem. I have never tried it with a motion sensor. It will back feed power through the red wire into the sensor when no motion is detected and you are using the switches to turn the lights on. I don't know if this will have a effect on the sensor as far as damaging it. I know it does not damage a photo eye. It will bypass the switches and turn the lights on no matter what position the switches are in. The only down fall is you could never turn off power to the motion sensor by the switches. The lights will always come on when it senses motion and will have to wait till the sensor times out for them to go out. But under normal conditions, the lights will turn on and off by the switches