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

Subdevices: revert use of poll_only

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

Issue #1054
Jason Rumney 1 год назад
Родитель
Сommit
8c33c42821
1 измененных файлов с 0 добавлено и 1 удалено
  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