hass-core/homeassistant/components/ovo_energy/strings.json
Brian Norman 74e476a070
Add optional support for users with multiple ovo accounts (#80901)
* Added optional support for users with multiple ovo accounts

* Made changes from code review around naming

* Renaming config variable

* Removing account from async_step_reauth

* Removing more account from async_step_reauth

* Fixing code now I better understand and can test async_step_reauth

* Storing account id returned by ovoenergy client in config to handle when user has single account but then another gets added

* Putting account into async_step_user
2022-10-29 13:45:00 +02:00

28 lines
1,001 B
JSON

{
"config": {
"flow_title": "{username}",
"error": {
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
},
"step": {
"user": {
"data": {
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]",
"account": "OVO account id (only add if you have multiple accounts)"
},
"description": "Set up an OVO Energy instance to access your energy usage.",
"title": "Add OVO Energy Account"
},
"reauth": {
"data": {
"password": "[%key:common::config_flow::data::password%]"
},
"description": "Authentication failed for OVO Energy. Please enter your current credentials.",
"title": "Reauthentication"
}
}
}
}