fix Comelit cover stop (#103911)
parent
cf35e9b154
commit
56298b2c88
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue