Light on/off programming

I would use the Basic Rules app.