Here's a work-around for those types of motion detectors or timers - if you replace 1 or 2 of the CFLs or LEDs with a low wattage filament bulb, that will very likely make the motion detector/timer work properly and eliminate the flickering. Basically, those devices need a small constant load on them when they are 'off' - CFLs and LEDs don't provide the same kind of simple resistive load as a filament does.
That flickering is bad for the device, and bad for the CFL/LEDs. But 1 or 2 small filaments should be enough to provide an 'off' current, and damp out the reactive loads from the CFL/LEDs.