Skip to content

Commit

Permalink
current_cover_position just returns device.get_position
Browse files Browse the repository at this point in the history
  • Loading branch information
Ginxo committed Apr 17, 2024
1 parent 8ddebe8 commit 71f1dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/meross_cloud/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def supported_features(self):

@property
def current_cover_position(self):
return self._device.get_position(channel=self._channel_id) or 50
return self._device.get_position(channel=self._channel_id)

@property
def is_closed(self):
Expand Down

0 comments on commit 71f1dc1

Please sign in to comment.