'Turn the light on.'

def turn_on(self, **kwargs):

    if (ATTR_RGB_COLOR in kwargs):
        self._rgb = kwargs[ATTR_RGB_COLOR]
    if (ATTR_BRIGHTNESS in kwargs):
        self._brightness = int(((100 * kwargs[ATTR_BRIGHTNESS]) / 255))
    rgba = ((self._brightness,) + self._rgb)
    rgbhex = binascii.hexlify(struct.pack('BBBB', *rgba)).decode('ASCII')
    rgbhex = int(rgbhex, 16)
    if self._write_to_hub(self._sid, **{self._data_key: rgbhex}):
        self._state = True
