diff --git a/custom_components/adaptive_lighting/switch.py b/custom_components/adaptive_lighting/switch.py index a4708f31..6e6868d3 100644 --- a/custom_components/adaptive_lighting/switch.py +++ b/custom_components/adaptive_lighting/switch.py @@ -1977,6 +1977,7 @@ class AdaptiveLightingManager: ) entity_ids = self._get_entity_list(data) + entity_ids = _expand_light_groups(self.hass, entity_ids) def modify_service_data(service_data, entity_ids): """Modify the service data to contain the entity IDs."""