mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 10:48:01 +02:00
fix Comelit cover stop (#103911)
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user