Skip to content

Commit

Permalink
Merge pull request #132 from basbruss/reset
Browse files Browse the repository at this point in the history
Check reset for all events
  • Loading branch information
basbruss authored May 1, 2024
2 parents 8cd96ad + 5ee8895 commit ab8cba6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/adaptive_cover/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ab8cba6

Please sign in to comment.