def _from_hass_temperature(temperature):
    return (temperature - 154) / 346
Convert Home Assistant color temperature units to percentage.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/light/limitlessled.py/_from_hass_temperature