Explorar el Código

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 hace 4 años
padre
commit
2ce6b6a6b7

+ 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, 3.4]
 SCAN_INTERVAL = timedelta(seconds=30)

+ 2 - 2
custom_components/tuya_local/manifest.json

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

+ 1 - 1
requirements-dev.txt

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

+ 1 - 1
requirements.txt

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