

def _to_hass_color(color):
    'Convert from Color tuple to Home Assistant RGB list.'
    return list([int(c) for c in color])

dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/light/limitlessled.py _to_hass_color/original