Over the last 7 years I have replaced a p.i.r. activated security floodlight 3 times.
Not surprisingly it has been the detector which failed each time, not the light.
Having spent my professional life in electronics, I would, a few years ago, have designed and built a reliable replacement...