Light Group has no attributes entity_id like other group components

Without entity_id in de Light Group there is no way to get the entities of a light group to be used in tamplating?