Automatic lighting control without timers

This is written up in Design Pattern: Associated Items