@kwatt You may also find useful, a switch that acts like a timer, so that you can act upon it (turning on/off):