mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 23:27:37 +00:00
Update Supla async_set_cover_position to use "REVEAL_PARTIALLY" (#121663)
This commit is contained in:
parent
664c4e6189
commit
088717926d
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user