def _from_hass_color(color):
 from limitlessled import Color
 return Color(*tuple(color))

def _from_hass_color ( color ) : from limitlessled import Color return Color ( * tuple ( color ) )
convert home assistant rgb list to color tuple .