Ver Fonte

Add protocol version 3.2 to supported protocols.

Since tinytuya 1.6.6 supports 3.2, try this as well.
3.2 is basically 3.3 + device22 (which uses different command ids).
Jason Rumney há 3 anos atrás
pai
commit
13db46e521
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      custom_components/tuya_local/const.py

+ 1 - 1
custom_components/tuya_local/const.py

@@ -11,5 +11,5 @@ CONF_LIGHT = "light"
 CONF_LOCK = "lock"
 CONF_SWITCH = "switch"
 CONF_HUMIDIFIER = "humidifier"
-API_PROTOCOL_VERSIONS = [3.3, 3.1]
+API_PROTOCOL_VERSIONS = [3.3, 3.1, 3.2]
 SCAN_INTERVAL = timedelta(seconds=30)