diff --git a/custom_components/adaptive_lighting/switch.py b/custom_components/adaptive_lighting/switch.py index f95dd70a..5015854f 100644 --- a/custom_components/adaptive_lighting/switch.py +++ b/custom_components/adaptive_lighting/switch.py @@ -1734,11 +1734,12 @@ class TurnOnOffListener: ) async def reset(): - raise ValueError("THIS SHOULD BE CALLED") + self.transition_timers[light] = None _LOGGER.debug( "Transition finished for light %s", light, ) + raise ValueError("THIS SHOULD BE CALLED") self._handle_timer(light, self.transition_timers, last_transition, reset)