'Produce LimitlessLEDGroup objects.'

@staticmethod
def factory(group, config):

    from limitlessled.group.rgbw import RgbwGroup
    from limitlessled.group.white import WhiteGroup
    from limitlessled.group.rgbww import RgbwwGroup
    if isinstance(group, WhiteGroup):
        return LimitlessLEDWhiteGroup(group, config)
    elif isinstance(group, RgbwGroup):
        return LimitlessLEDRGBWGroup(group, config)
    elif isinstance(group, RgbwwGroup):
        return LimitlessLEDRGBWWGroup(group, config)
