ソースを参照

feat(const): define the new 3.42 and 3.52 versions

Should have been part of the previous device.py change
Jason Rumney 2 日 前
コミット
ff547b7463
1 ファイル変更1 行追加1 行削除
  1. 1 1
      custom_components/tuya_local/const.py

+ 1 - 1
custom_components/tuya_local/const.py

@@ -10,7 +10,7 @@ CONF_MODEL = "model"
 CONF_POLL_ONLY = "poll_only"
 CONF_POLL_ONLY = "poll_only"
 CONF_DEVICE_CID = "device_cid"
 CONF_DEVICE_CID = "device_cid"
 CONF_PROTOCOL_VERSION = "protocol_version"
 CONF_PROTOCOL_VERSION = "protocol_version"
-API_PROTOCOL_VERSIONS = [3.3, 3.1, 3.2, 3.4, 3.5, 3.22]
+API_PROTOCOL_VERSIONS = [3.3, 3.1, 3.2, 3.4, 3.5, 3.22, 3.42, 3.52]
 
 
 CONF_APP_TYPE = "tuya_app_type"
 CONF_APP_TYPE = "tuya_app_type"
 CONF_ENDPOINT = "endpoint"
 CONF_ENDPOINT = "endpoint"