* rebase off dev * Update homeassistant/components/weatherflow_cloud/const.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Addressing 1st round of PR Comments * Update homeassistant/components/weatherflow_cloud/config_flow.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * addressing PR Comments * fixing last comment that i can see * Update homeassistant/components/weatherflow_cloud/coordinator.py OOPS Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update homeassistant/components/weatherflow_cloud/weather.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update homeassistant/components/weatherflow_cloud/coordinator.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * switching to station id * Update homeassistant/components/weatherflow_cloud/strings.json Co-authored-by: G Johansson <goran.johansson@shiftit.se> * addressing PR * Updated tests to be better * Updated tests accordingly * REAuth flow and tests added * Update homeassistant/components/weatherflow_cloud/strings.json Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update homeassistant/components/weatherflow_cloud/coordinator.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Addressing PR comments * Apply suggestions from code review * ruff fix --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> Co-authored-by: G Johansson <goran.johansson@shiftit.se>
27 lines
793 B
JSON
27 lines
793 B
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"description": "Set up a WeatherFlow Forecast Station",
|
|
"data": {
|
|
"api_token": "Personal api token"
|
|
}
|
|
},
|
|
"reauth": {
|
|
"description": "Reauthenticate with WeatherFlow",
|
|
"data": {
|
|
"api_token": "[%key:component::weatherflow_cloud::config::step::user::data::api_token%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_api_key": "[%key:common::config_flow::error::invalid_api_key%]"
|
|
},
|
|
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
|
}
|
|
}
|
|
}
|