Files
core/homeassistant/components/switchbot/strings.json
J. Nick Koston 28ad27a3b3 Improve error reporting when switchbot auth fails (#85244)
* Improve error reporting when switchbot auth fails

related issue #85243

* bump

* coverage
2023-01-05 15:29:13 -05:00

63 lines
2.1 KiB
JSON

{
"config": {
"flow_title": "{name} ({address})",
"step": {
"user": {
"data": {
"address": "Device address"
}
},
"confirm": {
"description": "Do you want to set up {name}?"
},
"password": {
"description": "The {name} device requires a password",
"data": {
"password": "[%key:common::config_flow::data::password%]"
}
},
"lock_key": {
"description": "The {name} device requires encryption key, details on how to obtain it can be found in the documentation.",
"data": {
"key_id": "Key ID",
"encryption_key": "Encryption key"
}
},
"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.",
"data": {
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]"
}
},
"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.",
"menu_options": {
"lock_auth": "SwitchBot account (recommended)",
"lock_key": "Enter lock encryption key manually"
}
}
},
"error": {
"encryption_key_invalid": "Key ID or Encryption key is invalid",
"auth_failed": "Authentication failed: {error_detail}"
},
"abort": {
"already_configured_device": "[%key:common::config_flow::abort::already_configured_device%]",
"no_unconfigured_devices": "No unconfigured devices found.",
"unknown": "[%key:common::config_flow::error::unknown%]",
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"switchbot_unsupported_type": "Unsupported Switchbot Type."
}
},
"options": {
"step": {
"init": {
"data": {
"retry_count": "Retry count"
}
}
}
}
}