These mechanical timer switches ;were the first to appear on the market. They consist of a small electric motor that drives a clock which is typically 24 hours, although ones for a week are also available. http://www.ileadtime.com/time-swtich/