mirror of
https://github.com/elisspace/core.git
synced 2026-09-23 11:07:42 +00:00
63 lines
2.0 KiB
JSON
63 lines
2.0 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_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"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"encryption_key_invalid": "Key ID or Encryption key is invalid",
|
|
"auth_failed": "Authentication failed"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|