mirror of
https://github.com/home-assistant/core
synced 2024-08-02 23:40:32 +02:00
0749e045bb
* Add reauth flow to async_setup_entry * Add reauth flow to config_flow * Add reauth tests * Split reauth/reauth_confirm * unindent code * Add entry_id and unique_id to reauth flow testing * Use description_placeholders for username * fix typo
36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
|
"kamereon_no_account": "Unable to find Kamereon account",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
|
},
|
|
"error": {
|
|
"invalid_credentials": "[%key:common::config_flow::error::invalid_auth%]"
|
|
},
|
|
"step": {
|
|
"kamereon": {
|
|
"data": {
|
|
"kamereon_account_id": "Kamereon account id"
|
|
},
|
|
"title": "Select Kamereon account id"
|
|
},
|
|
"reauth_confirm": {
|
|
"data": {
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
},
|
|
"description": "Please update your password for {username}",
|
|
"title": "[%key:common::config_flow::title::reauth%]"
|
|
},
|
|
"user": {
|
|
"data": {
|
|
"locale": "Locale",
|
|
"username": "[%key:common::config_flow::data::email%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
},
|
|
"title": "Set Renault credentials"
|
|
}
|
|
}
|
|
}
|
|
}
|