mirror of
https://github.com/home-assistant/core.git
synced 2025-05-22 14:57:14 +00:00
Fix HomematicIP Cloud fix cover position property (#21154)
This commit is contained in:
parent
4d410bf5b9
commit
0b77a89a2f
@ -39,7 +39,7 @@ class HomematicipCoverShutter(HomematicipGenericDevice, CoverDevice):
|
||||
@property
|
||||
def current_cover_position(self):
|
||||
"""Return current position of cover."""
|
||||
return int(self._device.shutterLevel * 100)
|
||||
return int((1 - self._device.shutterLevel) * 100)
|
||||
|
||||
async def async_set_cover_position(self, **kwargs):
|
||||
"""Move the cover to a specific position."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user