Sfoglia il codice sorgente

Subdevices: revert use of poll_only

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

Issue #1054
Jason Rumney 1 anno fa
parent
commit
8c33c42821
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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