MQTT Cover Fix Assumed State (#14672)
This commit is contained in:
1 parent
f2a2f2cca5
commit
fcb60d472e
2 files changed
+9
-2
No files matched your search
@@ -235,6 +235,11 @@ class MqttCover(MqttAvailability, CoverDevice):
|
||||
"""No polling needed."""
|
||||
return False
|
||||
|
||||
@property
|
||||
def assumed_state(self):
|
||||
"""Return true if we do optimistic updates."""
|
||||
return self._optimistic
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Return the name of the cover."""
|
||||
|
||||
Reference in new issue
Block a user