Pārlūkot izejas kodu

Saved file after committing.

Function was renamed but the file not saved, making it inconsistent between
caller and called.
Jason Rumney 4 gadi atpakaļ
vecāks
revīzija
781bcf8f45
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
     @property
-    def has_sent_state(self):
+    def has_returned_state(self):
         """Return True if the device has returned some state."""
         """Return True if the device has returned some state."""
         return len(self._get_cached_state()) > 1
         return len(self._get_cached_state()) > 1