From 8e847e71eb5c47f23fbc9783cf17d5f229f6b29e Mon Sep 17 00:00:00 2001 From: Benjamin Auquite Date: Sun, 2 Apr 2023 23:15:53 -0500 Subject: [PATCH] not renamed in this branch yet. --- custom_components/adaptive_lighting/switch.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/custom_components/adaptive_lighting/switch.py b/custom_components/adaptive_lighting/switch.py index 203fcb4e..fa5e493c 100644 --- a/custom_components/adaptive_lighting/switch.py +++ b/custom_components/adaptive_lighting/switch.py @@ -1156,9 +1156,7 @@ class AdaptiveSwitch(SwitchEntity, RestoreEntity): if self.turn_on_off_listener.transition_timers.get(light): lights.remove(light) - await self._update_manual_control_and_maybe_adapt( - lights, transition, force, context - ) + await self._adapt_lights(lights, transition, force, context) async def _adapt_lights( self,