From 15964a5d7c5a958b6ee7dfca113d2c9eb2ad3950 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 6 Jan 2023 17:43:12 -1000 Subject: [PATCH] Add note to SwichBot locks that usernames are case sensitive This seems to keep tripping up people trying to onboard their locks --- 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 c25769bee411fa..d263aed3dd5d6f 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 c0f7dacb59fda9..7f6aa974d051f2 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",