Przeglądaj źródła

Device: fix boolean case

Jason Rumney 1 rok temu
rodzic
commit
08db14e69f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      custom_components/tuya_local/device.py

+ 1 - 1
custom_components/tuya_local/device.py

@@ -254,7 +254,7 @@ class TuyaLocalDevice(object):
 
     def pause(self):
         self._temporary_poll = True
-        self._api.setSocketPersistent(false)
+        self._api.setSocketPersistent(False)
         if self._api.parent:
             self._api.parent.setSocketPersistent(False)