We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tr.json
1 parent 8079664 commit 8e205fdCopy full SHA for 8e205fd
custom_components/localtuya/cover.py
@@ -120,7 +120,7 @@ def supported_features(self):
120
def _current_state(self) -> str:
121
"""Return the current state of the cover."""
122
state = self._current_state_action
123
- curr_pos = self.current_cover_position
+ curr_pos = self._current_cover_position
124
# Reset STATE when cover is fully closed or fully opened.
125
if state == STATE_STOPPED or (
126
state in (STATE_CLOSING, STATE_OPENING) and curr_pos in (0, 100)
0 commit comments