diff --git a/custom_components/adaptive_lighting/switch.py b/custom_components/adaptive_lighting/switch.py index 2a80686e..9165725c 100755 --- a/custom_components/adaptive_lighting/switch.py +++ b/custom_components/adaptive_lighting/switch.py @@ -579,7 +579,7 @@ class AdaptiveSwitch(SwitchEntity, RestoreEntity): if not self._should_adjust(): return tasks = [ - self._adjust_light(light, transition) + await self._adjust_light(light, transition) for light in lights if is_on(self.hass, light) ]