mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
fix Comelit cover stop (#103911)
This commit is contained in:
parent
109bcd86f1
commit
2bdd969cf6
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user