From 00c126acb8188b3f6110bfc0867ee68cb1e31274 Mon Sep 17 00:00:00 2001 From: rospogrigio Date: Wed, 1 Jun 2022 17:27:56 +0200 Subject: [PATCH] Fixed labels missing when editing Cloud configuration --- .../localtuya/translations/en.json | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/custom_components/localtuya/translations/en.json b/custom_components/localtuya/translations/en.json index b80cf9e..8e05ae4 100644 --- a/custom_components/localtuya/translations/en.json +++ b/custom_components/localtuya/translations/en.json @@ -24,7 +24,8 @@ "client_id": "Client ID", "client_secret": "Secret", "user_id": "User ID", - "user_name": "Username" + "user_name": "Username", + "no_cloud": "Do not configure a Cloud API account" } } } @@ -54,7 +55,7 @@ "title": "LocalTuya Configuration", "description": "Please select the desired action.", "data": { - "add_device": "AAAAA a new device", + "add_device": "Add a new device", "edit_device": "Edit a device", "setup_cloud": "Reconfigure Cloud API account" } @@ -73,6 +74,18 @@ "selected_device": "Configured Devices" } }, + "cloud_setup": { + "title": "Cloud API account configuration", + "description": "Input the credentials for Tuya Cloud API.", + "data": { + "region": "API server region", + "client_id": "Client ID", + "client_secret": "Secret", + "user_id": "User ID", + "user_name": "Username", + "no_cloud": "Do not configure Cloud API account" + } + }, "configure_device": { "title": "Configure Tuya device", "description": "Fill in the device details{for_device}.",