Răsfoiți Sursa

Saved file after committing.

Function was renamed but the file not saved, making it inconsistent between
caller and called.
Jason Rumney 4 ani în urmă
părinte
comite
781bcf8f45
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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