mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-14 07:44:04 +02:00
Update switch.py
This commit is contained in:
parent
488c54b859
commit
f1f4d33745
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue