A programmable electrical control device (10) adapted to be programmed by an external programming device, the programmable electrical control device for controlling electrical power supply in cooperation with an electrical switching device (12), the electrical switching device having a body, an electrical power supply input, an electrical power supply output (15) and a manual switch (16), the device (10) including a data connection module; memory; a timing module; a processor; and a switching module, including at least one supply on period, and at least one supply off period, wherein at least a part of the device (10) is capable of being integrated within the body.