'Turn the specified light on.'

def turn_on(self, **kwargs):

    self._state = True
    self._bulb.on()
    rgb = kwargs.get(ATTR_RGB_COLOR)
    white = kwargs.get(ATTR_WHITE_VALUE)
    if (white is not None):
        self._white = white
        self._rgb = (0, 0, 0)
    if (rgb is not None):
        self._white = 0
        self._rgb = rgb
    if (self._white != 0):
        self.set_white(self._white)
    else:
        self.set_rgb(self._rgb[0], self._rgb[1], self._rgb[2])
