From 3867a274a7edf374a53788b3fcde29185e09d7ad Mon Sep 17 00:00:00 2001 From: zach-ovic Date: Fri, 11 Oct 2024 17:19:10 +0200 Subject: [PATCH] Setting _is_closing instead of _is_opening when a cover is closing. --- custom_components/loxone/cover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/loxone/cover.py b/custom_components/loxone/cover.py index c2ef5dd..5183514 100644 --- a/custom_components/loxone/cover.py +++ b/custom_components/loxone/cover.py @@ -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()