From 8c5f8b891d0cefe3b01b662f124ca20b2623e3f6 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Fri, 21 Jul 2023 12:06:38 -0700 Subject: [PATCH] Clean up --- custom_components/adaptive_lighting/switch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/adaptive_lighting/switch.py b/custom_components/adaptive_lighting/switch.py index 4dd37296..b6242315 100644 --- a/custom_components/adaptive_lighting/switch.py +++ b/custom_components/adaptive_lighting/switch.py @@ -2034,7 +2034,7 @@ def reset(self, *lights, reset_manual_control=True) -> None: timer.cancel() self.last_state_change.pop(light, None) self.last_service_data.pop(light, None) - self.cancel_ongoing_adaptation_calls(light, "both") + self.cancel_ongoing_adaptation_calls(light) def _get_entity_list(self, service_data: ServiceData) -> list[str]: entity_ids = []