@property
    def color_temp(self):
        temperature = int(TEMP_MIN_HASS + (TEMP_MAX_HASS - TEMP_MIN_HASS) *
                          (self._kel - TEMP_MIN) / (TEMP_MAX - TEMP_MIN))

        _LOGGER.debug("color_temp: %d", temperature)
        return temperature
Return the color temperature.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/light/lifx.py/LIFXLight.color_temp