def _from_hass_brightness(brightness):
    return brightness / 255
Convert Home Assistant brightness units to percentage.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/light/limitlessled.py/_from_hass_brightness