fix Comelit cover stop (#103911)

pull/104348/head
Simone Chemelli 2023-11-13 14:04:12 +01:00 committed by Franck Nijhof
parent cf35e9b154
commit 56298b2c88
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
1 changed files with 1 additions and 1 deletions

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