From 5ee8895d40ddc3045f9ba866d6d1ad3c110c1640 Mon Sep 17 00:00:00 2001 From: basbruss <68892092+basbruss@users.noreply.github.com> Date: Wed, 1 May 2024 13:21:37 +0200 Subject: [PATCH] Check reset for all events --- custom_components/adaptive_cover/coordinator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/adaptive_cover/coordinator.py b/custom_components/adaptive_cover/coordinator.py index 4d71955..61e6218 100644 --- a/custom_components/adaptive_cover/coordinator.py +++ b/custom_components/adaptive_cover/coordinator.py @@ -212,7 +212,8 @@ async def _async_update_data(self) -> AdaptiveCoverData: self.wait_for_target, ) self.cover_state_change = False # reset state change - await self.manager.reset_if_needed() + + await self.manager.reset_if_needed() if self.control_toggle and self.state_change: for cover in self.entities: