* Added support for SwitchBot Lock * Updated PySwitchbot to 0.32.1 * Updated .coveragerc * Removed unnecessary condition * Using library method to verify encryption key * Added config flow tests * Remove link from config flow description * Added one more test for config flow * Updated CODEOWNERS
49 lines
1.4 KiB
JSON
49 lines
1.4 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"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"key_id_invalid": "Key ID or Encryption key is invalid",
|
|
"encryption_key_invalid": "Key ID or Encryption key is invalid"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|