Răsfoiți Sursa

Add protocol_version to translations to enable label in config flows.

Jason Rumney 3 ani în urmă
părinte
comite
b264f683a6
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      custom_components/tuya_local/translations/en.json

+ 3 - 1
custom_components/tuya_local/translations/en.json

@@ -9,6 +9,7 @@
                     "host": "IP address or hostname",
                     "device_id": "Device ID (uuid)",
                     "local_key": "Local key"
+                    "protocol_version": "Protocol version (try auto if not known)",
                 }
             },
             "select_type": {
@@ -41,7 +42,8 @@
                 "description": "[Follow these instructions to find your local key.](https://github.com/make-all/tuya-local#finding-your-device-id-and-local-key)",
                 "data": {
                     "host": "IP address or hostname",
-                    "local_key": "Local key"
+                    "local_key": "Local key",
+                    "protocol_version": "Protocol version (try auto if not known)",
                 }
             }
         },