add support for switching lights on/off