Update Supla async_set_cover_position to use "REVEAL_PARTIALLY" (#121663)

This commit is contained in:
Tomek Porozynski 2024-07-10 23:48:08 +02:00 committed by GitHub
parent 664c4e6189
commit 088717926d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,9 @@ class SuplaCoverEntity(SuplaEntity, CoverEntity):
async def async_set_cover_position(self, **kwargs: Any) -> None:
"""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
def is_closed(self) -> bool | None: