'Turn the light on.'

def turn_on(self, **kwargs):

    if ((ATTR_BRIGHTNESS in kwargs) and (self._state == 'LEVEL')):
        percent_bright = (float(kwargs[ATTR_BRIGHTNESS]) / 255)
        self._hmdevice.set_level(percent_bright, self._channel)
    else:
        self._hmdevice.on(self._channel)
