* feat(sunweg): reauth flow * fix(sunweg): autentication as sunweg 2.1.0 * fix: configflowresult * chore(sunweg): dedupe code * chore(sunweg): using entry_id instead of unique_id * test(sunweg): added test launch reauth flow * chore(sunweg): moved test_reauth_started test * chore(sunweg): formatting * chore(sunweg): formating --------- Co-authored-by: J. Nick Koston <nick@koston.org>
34 lines
1,011 B
JSON
34 lines
1,011 B
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"no_plants": "No plants have been found on this account",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
|
},
|
|
"error": {
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"timeout_connect": "[%key:common::config_flow::error::timeout_connect%]"
|
|
},
|
|
"step": {
|
|
"plant": {
|
|
"data": {
|
|
"plant_id": "Plant"
|
|
},
|
|
"title": "Select your plant"
|
|
},
|
|
"user": {
|
|
"data": {
|
|
"password": "[%key:common::config_flow::data::password%]",
|
|
"username": "[%key:common::config_flow::data::username%]"
|
|
},
|
|
"title": "Enter your Sun WEG information"
|
|
},
|
|
"reauth_confirm": {
|
|
"data": {
|
|
"password": "[%key:common::config_flow::data::password%]",
|
|
"username": "[%key:common::config_flow::data::username%]"
|
|
},
|
|
"title": "[%key:common::config_flow::title::reauth%]"
|
|
}
|
|
}
|
|
}
|
|
}
|