Ver Fonte

Device: fix boolean case

Jason Rumney há 1 ano atrás
pai
commit
08db14e69f
1 ficheiros alterados com 1 adições e 1 exclusões
  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)