fix Comelit cover stop (#103911)

This commit is contained in:
Simone Chemelli 2023-11-13 14:04:12 +01:00 committed by GitHub
parent 109bcd86f1
commit 2bdd969cf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ class ComelitCoverEntity(
if not self.is_closing and not self.is_opening: if not self.is_closing and not self.is_opening:
return 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) await self._api.set_device_status(COVER, self._device.index, action)
@callback @callback