Add OpenWeatherMap config_flow (#34659)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
EvgenyandJ. Nick Koston authored and GitHub committed 2020-09-04 18:22:50 -05:00
1 parent 1e770f089d
commit b0192cf9c0
17 files changed
+1193 -424

No files matched your search

@@ -0,0 +1,35 @@
{
"config": {
"abort": {
"already_configured": "OpenWeatherMap integration for these coordinates is already configured."
},
"error": {
"auth": "API key is not correct.",
"connection": "Can't connect to OWM API"
},
"step": {
"user": {
"data": {
"api_key": "OpenWeatherMap API key",
"language": "Language",
"latitude": "Latitude",
"longitude": "Longitude",
"mode": "Mode",
"name": "Name of the integration"
},
"description": "Set up OpenWeatherMap integration. To generate API key go to https://openweathermap.org/appid",
"title": "OpenWeatherMap"
}
}
},
"options": {
"step": {
"init": {
"data": {
"language": "Language",
"mode": "Mode"
}
}
}
}
}