I've replaced an outdoor security light with sensor as it was going on/off intermittently with nothing activating the sensor. The replacement worked fine for a day but the following morning was behaving the same way i.e. just coming on and then going off, When it goes on, it doesn't even stay on...