Skip to content

Commit b4d6a44

Browse files
authored
Fix set_absolute_position angle (home-assistant#156185)
1 parent adf8644 commit b4d6a44

File tree

1 file changed

+1
-0
lines changed
  • homeassistant/components/motion_blinds

1 file changed

+1
-0
lines changed

homeassistant/components/motion_blinds/cover.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ async def async_set_absolute_position(self, **kwargs):
239239
angle = kwargs.get(ATTR_TILT_POSITION)
240240
if angle is not None:
241241
angle = angle * 180 / 100
242+
angle = 180 - angle
242243
async with self._api_lock:
243244
await self.hass.async_add_executor_job(
244245
self._blind.Set_position,

0 commit comments

Comments
 (0)