mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
Update Supla async_set_cover_position to use "REVEAL_PARTIALLY" (#121663)
This commit is contained in:
@@ -71,7 +71,9 @@ class SuplaCoverEntity(SuplaEntity, CoverEntity):
|
|||||||
|
|
||||||
async def async_set_cover_position(self, **kwargs: Any) -> None:
|
async def async_set_cover_position(self, **kwargs: Any) -> None:
|
||||||
"""Move the cover to a specific position."""
|
"""Move the cover to a specific position."""
|
||||||
await self.async_action("REVEAL", percentage=kwargs.get(ATTR_POSITION))
|
await self.async_action(
|
||||||
|
"REVEAL_PARTIALLY", percentage=kwargs.get(ATTR_POSITION)
|
||||||
|
)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_closed(self) -> bool | None:
|
def is_closed(self) -> bool | None:
|
||||||
|
Reference in New Issue
Block a user