adding dimming support, level 0 is off, level 1 on on, 2 - 31 are dimmer levels