I have two different outdoor floodlights that stay on for awhile and, for some unexplainable reason, turn off. Then, out of the blue, they'll turn back on again. This all happens when it's pitch black outside, so I'm figuring it isn't related to the photosensor. Any idea why this is happening? Could it be mis-wired? Thanks.