فهرست منبع

Begin 0.20.0 development by upgrading tinytuya to 1.7.0

Issues are expected based on experience with tinytuya 1.6.6, so install this development version only if you are willing to assist with debugging for 0.20.0 release.
Jason Rumney 3 سال پیش
والد
کامیت
2ce6b6a6b7
4فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 1 1
      custom_components/tuya_local/const.py
  2. 2 2
      custom_components/tuya_local/manifest.json
  3. 1 1
      requirements-dev.txt
  4. 1 1
      requirements.txt

+ 1 - 1
custom_components/tuya_local/const.py

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

+ 2 - 2
custom_components/tuya_local/manifest.json

@@ -2,11 +2,11 @@
     "domain": "tuya_local",
     "domain": "tuya_local",
     "iot_class": "local_polling",
     "iot_class": "local_polling",
     "name": "Tuya Local",
     "name": "Tuya Local",
-    "version": "0.19.3",
+    "version": "0.20.0",
     "documentation": "https://github.com/make-all/tuya-local",
     "documentation": "https://github.com/make-all/tuya-local",
     "issue_tracker": "https://github.com/make-all/tuya-local/issues",
     "issue_tracker": "https://github.com/make-all/tuya-local/issues",
     "dependencies": [],
     "dependencies": [],
     "codeowners": ["@make-all"],
     "codeowners": ["@make-all"],
-    "requirements": ["pycryptodome~=3.15.0","tinytuya==1.6.5"],
+    "requirements": ["pycryptodome~=3.15.0","tinytuya==1.7.0"],
     "config_flow": true
     "config_flow": true
 }
 }

+ 1 - 1
requirements-dev.txt

@@ -5,4 +5,4 @@ pytest
 pytest-asyncio
 pytest-asyncio
 pytest-cov
 pytest-cov
 pycryptodome~=3.15.0
 pycryptodome~=3.15.0
-tinytuya~=1.6.5
+tinytuya~=1.7.0

+ 1 - 1
requirements.txt

@@ -1,2 +1,2 @@
 pycryptodome~=3.15.0
 pycryptodome~=3.15.0
-tinytuya~=1.6.5
+tinytuya~=1.7.0