fix Comelit cover stop (#103911)

This commit is contained in:
Simone Chemelli
2023-11-13 14:04:12 +01:00
committed by Franck Nijhof
parent cf35e9b154
commit 56298b2c88

View File

@@ -109,7 +109,7 @@ class ComelitCoverEntity(
if not self.is_closing and not self.is_opening:
return
action = STATE_OFF if self.is_closing else STATE_ON
action = STATE_ON if self.is_closing else STATE_OFF
await self._api.set_device_status(COVER, self._device.index, action)
@callback