A pre-programmed energy saving ballast or driver is presented, having a pre-defined energy profile to which the output power is controlled in accordance with the current time ascertained from the input power connection via simplex clock information or from received broadcast time signals, and which allows a user to select from a number of pre-programmed profiles and/or to modify and store user-defined energy profiles.