new lightswitch script\n\nswitches lights on or off and saves the current state in a redis store.