Explorar el Código

Add protocol_version to translations to enable label in config flows.

Jason Rumney hace 3 años
padre
commit
b264f683a6
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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)",
                 }
             }
         },