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