An electrical device designed to automate the switching on and off of electrical devices after motion is detected by a PIR detector. Switching on takes place at the appropriate light intensity.