Rebase from upstream

This commit is contained in:
sibowler
2022-07-13 20:35:42 +10:00
parent 54dbc3a359
commit 364569bad8
10 changed files with 235 additions and 18 deletions

View File

@@ -189,6 +189,7 @@ class LocaltuyaCover(LocalTuyaEntity, CoverEntity):
self.debug("Restored cover position %s", self._current_cover_position)
def status_updated(self):
super.status_updated(self)
"""Device status was updated."""
self._previous_state = self._state
self._state = self.dps(self._dp_id)