MQTT Cover Fix Assumed State (#14672)

This commit is contained in:
Otto Winter authored and Paulus Schoutsen committed 2018-05-29 09:03:45 -04:00
1 parent f2a2f2cca5
commit fcb60d472e
2 files changed
+9 -2

No files matched your search

+5
View File
@@ -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."""