* fix: handle authentication issues for asekopool * fix: handle authentication issues for asekopool * feat: add config migration * feat: add re-authentication step * fix: add reauth message * fix: add tests for config flow * fix: tests clean up * Update homeassistant/components/aseko_pool_live/__init__.py Co-authored-by: Erik Montnemery <erik@montnemery.com> * Update homeassistant/components/aseko_pool_live/__init__.py Co-authored-by: Erik Montnemery <erik@montnemery.com> * fix: Reformat code * Fix bad merge * Really fix bad merge * Update config_flow.py --------- Co-authored-by: Erik Montnemery <erik@montnemery.com>
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"email": "[%key:common::config_flow::data::email%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"data": {
|
|
"email": "[%key:common::config_flow::data::email%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
|
}
|
|
},
|
|
"entity": {
|
|
"binary_sensor": {
|
|
"water_flow": {
|
|
"name": "Water flow"
|
|
},
|
|
"alarm": {
|
|
"name": "Alarm"
|
|
}
|
|
},
|
|
"sensor": {
|
|
"air_temperature": {
|
|
"name": "Air temperature"
|
|
},
|
|
"free_chlorine": {
|
|
"name": "Free chlorine"
|
|
},
|
|
"water_temperature": {
|
|
"name": "Water temperature"
|
|
}
|
|
}
|
|
}
|
|
}
|