From 4025ac712fa4c350efe8caa5343df2cef7c9728a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 6 Jan 2023 19:51:20 -1000 Subject: [PATCH] Add note to SwitchBot locks that usernames are case sensitive (#85359) --- homeassistant/components/switchbot/strings.json | 2 +- .../components/switchbot/translations/en.json | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/homeassistant/components/switchbot/strings.json b/homeassistant/components/switchbot/strings.json index c25769bee41..d263aed3dd5 100644 --- a/homeassistant/components/switchbot/strings.json +++ b/homeassistant/components/switchbot/strings.json @@ -24,7 +24,7 @@ } }, "lock_auth": { - "description": "Please provide your SwitchBot app username and password. This data won't be saved and only used to retrieve your locks encryption key.", + "description": "Please provide your SwitchBot app username and password. This data won't be saved and only used to retrieve your locks encryption key. Usernames and passwords are case sensitive.", "data": { "username": "[%key:common::config_flow::data::username%]", "password": "[%key:common::config_flow::data::password%]" diff --git a/homeassistant/components/switchbot/translations/en.json b/homeassistant/components/switchbot/translations/en.json index c0f7dacb59f..7f6aa974d05 100644 --- a/homeassistant/components/switchbot/translations/en.json +++ b/homeassistant/components/switchbot/translations/en.json @@ -9,8 +9,7 @@ }, "error": { "auth_failed": "Authentication failed: {error_detail}", - "encryption_key_invalid": "Key ID or Encryption key is invalid", - "key_id_invalid": "Key ID or Encryption key is invalid" + "encryption_key_invalid": "Key ID or Encryption key is invalid" }, "flow_title": "{name} ({address})", "step": { @@ -22,7 +21,7 @@ "password": "Password", "username": "Username" }, - "description": "Please provide your SwitchBot app username and password. This data won't be saved and only used to retrieve your locks encryption key." + "description": "Please provide your SwitchBot app username and password. This data won't be saved and only used to retrieve your locks encryption key. Usernames and passwords are case sensitive." }, "lock_choose_method": { "description": "A SwitchBot lock can be set up in Home Assistant in two different ways.\n\nYou can enter the key id and encryption key yourself, or Home Assistant can import them from your SwitchBot account.", @@ -31,13 +30,6 @@ "lock_key": "Enter lock encryption key manually" } }, - "lock_chose_method": { - "description": "Choose configuration method, details can be found in the documentation.", - "menu_options": { - "lock_auth": "SwitchBot app login and password", - "lock_key": "Lock encryption key" - } - }, "lock_key": { "data": { "encryption_key": "Encryption key",