'Set color state values.'

def set_color(self, hue, sat, bri, kel):

    self._hue = hue
    self._sat = sat
    self._bri = bri
    self._kel = kel
    (red, green, blue) = colorsys.hsv_to_rgb((hue / SHORT_MAX), (sat / SHORT_MAX), (bri / SHORT_MAX))
    red = int((red * BYTE_MAX))
    green = int((green * BYTE_MAX))
    blue = int((blue * BYTE_MAX))
    _LOGGER.debug('set_color:    %d    %d    %d    %d    [%d    %d    %d]', hue, sat, bri, kel, red, green, blue)
    self._rgb = [red, green, blue]
