Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Jul 21, 2023
1 parent 90463b1 commit 8c5f8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/adaptive_lighting/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 8c5f8b8

Please sign in to comment.