* Linky: setup ConfigFlow * async_track_time_interval * Review from @MartinHjelmare 1 * Review from @MartinHjelmare 2 * Review from @MartinHjelmare 3 * Review from @MartinHjelmare 4 * black --fast homeassistant tests * Bump pylinky to 0.4.0 and add error user feedback * Fix .coveragerc * Linky platform moved to integration in config.yml and with multiple accounts * Remove useless logs * Review from @MartinHjelmare 5 * Add config flow tests * Add config flow tests : login + fetch on failed
25 lines
893 B
JSON
25 lines
893 B
JSON
{
|
|
"config": {
|
|
"title": "Linky",
|
|
"step": {
|
|
"user": {
|
|
"title": "Linky",
|
|
"description": "Enter your credentials",
|
|
"data": {
|
|
"username": "Email",
|
|
"password": "Password"
|
|
}
|
|
}
|
|
},
|
|
"error":{
|
|
"username_exists": "Account already configured",
|
|
"access": "Could not access to Enedis.fr, please check your internet connection",
|
|
"enedis": "Enedis.fr answered with an error: please retry later (usually not between 11PM and 2AM)",
|
|
"wrong_login": "Login error: please check your email & password",
|
|
"unknown": "Unknown error: please retry later (usually not between 11PM and 2AM)"
|
|
},
|
|
"abort":{
|
|
"username_exists": "Account already configured"
|
|
}
|
|
}
|
|
}
|