Skip to content

Commit

Permalink
Add note to SwitchBot locks that usernames are case sensitive (#85359)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Jan 7, 2023
1 parent 21c0e93 commit 4025ac7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/switchbot/strings.json
Expand Up @@ -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%]"
Expand Down
12 changes: 2 additions & 10 deletions homeassistant/components/switchbot/translations/en.json
Expand Up @@ -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": {
Expand All @@ -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.",
Expand All @@ -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",
Expand Down

0 comments on commit 4025ac7

Please sign in to comment.