'Turn the specified or all lights on.'

@retry
def turn_on(self, **kwargs):

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