def _to_hass_brightness(brightness):
    return int(brightness * 255)
Processes the results of the ListDirectory client action.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/light/limitlessled.py/_to_hass_brightness--crossover with--dataset/ETHPy150Open google/grr/grr/lib/flows/general/windows_vsc.py/ListVolumeShadowCopies.ProcessListDirectory