If the photo sensor and the light source are combined, AND there is no sensitivity adjustment, AND the reflectivity causes cycling, then the fitting simply isn't suited to the location.
You have two options, short of replacement. Partially masking or shielding the sensor, or bypassing it and locating a photo-switch elsewhere.

Last edited by geoff in UK; 07/29/16 05:46 PM.