Use common strings in Powerwall config flow (#41137)

pull/40961/head^2
groot406 2020-10-03 15:14:36 +02:00 committed by GitHub
parent 030dd7d476
commit 7b7bdd9d8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -3,14 +3,18 @@
"step": {
"user": {
"title": "Connect to the powerwall",
"data": { "ip_address": "[%key:common::config_flow::data::ip%]" }
"data": {
"ip_address": "[%key:common::config_flow::data::ip%]"
}
}
},
"error": {
"cannot_connect": "Failed to connect, please try again",
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"wrong_version": "Your powerwall uses a software version that is not supported. Please consider upgrading or reporting this issue so it can be resolved.",
"unknown": "Unexpected error"
"unknown": "[%key:common::config_flow::error::unknown%]"
},
"abort": { "already_configured": "The powerwall is already configured" }
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
}
}
}