Explorar o código

Saved file after committing.

Function was renamed but the file not saved, making it inconsistent between
caller and called.
Jason Rumney %!s(int64=4) %!d(string=hai) anos
pai
achega
781bcf8f45
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      custom_components/tuya_local/device.py

+ 1 - 1
custom_components/tuya_local/device.py

@@ -77,7 +77,7 @@ class TuyaLocalDevice(object):
         }
 
     @property
-    def has_sent_state(self):
+    def has_returned_state(self):
         """Return True if the device has returned some state."""
         return len(self._get_cached_state()) > 1