Procházet zdrojové kódy

Subdevices: revert use of poll_only

In testing, it does not help with the connection limitations.

Issue #1054
Jason Rumney před 1 rokem
rodič
revize
8c33c42821
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      custom_components/tuya_local/device.py

+ 0 - 1
custom_components/tuya_local/device.py

@@ -101,7 +101,6 @@ class TuyaLocalDevice(object):
             # Retries cause problems for other children of the parent device
             # Currently, we only support polling for child devices
             self._api.parent.set_socketRetryLimit(1)
-            poll_only = True
 
         self._refresh_task = None
         self._protocol_configured = protocol_version