[SOLVED] Timer rule - but more elegant

Take a look at Area Triggers and Actions. The example code fits most people’s lighting needs…