'Turn the specified or all lights on.'

def turn_on(self, **kwargs):

    brightness = kwargs.get(ATTR_BRIGHTNESS)
    if (brightness is not None):
        self._brightness = brightness
    self.set_state(self.brightness)
    self._state = True
