* add config flow to nws and remove yaml * Don't duplicate scan_time Co-Authored-By: J. Nick Koston <nick@koston.org> * Use _abort_if_unique_id_configured Co-Authored-By: J. Nick Koston <nick@koston.org> * fix abort * Add unavailable tests * update and use better strings * lint Co-authored-by: J. Nick Koston <nick@koston.org>
25 lines
669 B
JSON
25 lines
669 B
JSON
{
|
|
"title": "National Weather Service (NWS)",
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"description": "If a METAR station code is not specified, the latitude and longitude will be used to find the closest station.",
|
|
"title": "Connect to the National Weather Service",
|
|
"data": {
|
|
"api_key": "API key (email)",
|
|
"latitude": "Latitude",
|
|
"longitude": "Longitude",
|
|
"station": "METAR station code"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Failed to connect, please try again",
|
|
"unknown": "Unexpected error"
|
|
},
|
|
"abort": {
|
|
"already_configured": "Device is already configured"
|
|
}
|
|
}
|
|
}
|