Skip to content

Commit

Permalink
Merge pull request #310 from zach-ovic/feature/cover_closing_fix
Browse files Browse the repository at this point in the history
Setting _is_closing instead of _is_opening when a cover is closing.
  • Loading branch information
JoDehli authored Oct 12, 2024
2 parents 645849d + 3867a27 commit 7e07579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/loxone/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ async def event_handler(self, event):
self._is_opening = False

if event.data[self._state_uuid] == -1:
self._is_opening = True
self._is_closing = True
elif event.data[self._state_uuid] == 1:
self._is_opening = True
self.schedule_update_ha_state()
Expand Down

0 comments on commit 7e07579

Please sign in to comment.