* Improve error handling modified: homeassistant/components/powerwall/__init__.py modified: homeassistant/components/powerwall/config_flow.py modified: homeassistant/components/powerwall/const.py modified: homeassistant/components/powerwall/strings.json modified: homeassistant/components/powerwall/translations/en.json * Change exception name modified: homeassistant/components/powerwall/__init__.py modified: homeassistant/components/powerwall/config_flow.py * Add test * Rename PowerwallError to POWERWALL_ERROR * Modify handling of APIChangedErrors modified: homeassistant/components/powerwall/__init__.py modified: homeassistant/components/powerwall/const.py
17 lines
518 B
JSON
17 lines
518 B
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Connect to the powerwall",
|
|
"data": { "ip_address": "IP Address" }
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Failed to connect, please try again",
|
|
"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"
|
|
},
|
|
"abort": { "already_configured": "The powerwall is already configured" }
|
|
}
|
|
}
|