Просмотр исходного кода

Saved file after committing.

Function was renamed but the file not saved, making it inconsistent between
caller and called.
Jason Rumney 4 лет назад
Родитель
Сommit
781bcf8f45
1 измененных файлов с 1 добавлено и 1 удалено
  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