Fix Lutron Serena Tilt Only Wood Blinds set tilt function (#117374)

This commit is contained in:
Jiaqi Wu 2024-05-13 17:05:12 -07:00 committed by GitHub
parent b2996844be
commit 728e1a2223
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,7 +96,7 @@ class LutronCasetaTiltOnlyBlind(LutronCasetaDeviceUpdatableEntity, CoverEntity):
async def async_set_cover_tilt_position(self, **kwargs: Any) -> None:
"""Move the blind to a specific tilt."""
self._smartbridge.set_tilt(self.device_id, kwargs[ATTR_TILT_POSITION])
await self._smartbridge.set_tilt(self.device_id, kwargs[ATTR_TILT_POSITION])
PYLUTRON_TYPE_TO_CLASSES = {