Browse Source

Add dependency on cryptography

Used >=45.0.0 because HA 2025.9.1 is currently ==45.0.3
AI suggests >=41.0.0 which probably comes from actual tinytuya requirement

For some reason wheels cannot build tinytuya from git without this,
though it is OK when using a released version of tinytuya (this was
previously removed to avoid conflict with HA and inherit whatever it
has).
Jason Rumney 5 months ago
parent
commit
b3908f8dfc
1 changed files with 2 additions and 1 deletions
  1. 2 1
      custom_components/tuya_local/manifest.json

+ 2 - 1
custom_components/tuya_local/manifest.json

@@ -16,7 +16,8 @@
     ],
     "requirements": [
         "git+https://github.com/jasonacox/tinytuya.git@v2.0.0-async",
-        "tuya-device-sharing-sdk~=0.2.1"
+        "tuya-device-sharing-sdk~=0.2.1",
+        "cryptography>=45.0.0"
     ],
     "version": "2025.9.1-async-experimental"
 }