Jason Rumney пре 5 година
родитељ
комит
d46ebb1ae2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      custom_components/tuya_local/device.py

+ 1 - 1
custom_components/tuya_local/device.py

@@ -242,7 +242,7 @@ class TuyaLocalDevice(object):
     def _rotate_api_protocol_version(self):
     def _rotate_api_protocol_version(self):
         if self._api_protocol_version_index is None:
         if self._api_protocol_version_index is None:
             self._api_protocol_version_index = 0
             self._api_protocol_version_index = 0
-        else
+        else:
             self._api_protocol_version_index += 1
             self._api_protocol_version_index += 1
 
 
         if self._api_protocol_version_index >= len(API_PROTOCOL_VERSIONS):
         if self._api_protocol_version_index >= len(API_PROTOCOL_VERSIONS):