adding basic support for multi level switches (on/off). Will add in dimming next.