mirror of
https://github.com/home-assistant/core.git
synced 2026-02-15 07:36:16 +00:00
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"api_key": "[%key:common::config_flow::data::api_key%]",
|
|
"latitude": "[%key:common::config_flow::data::latitude%]",
|
|
"longitude": "[%key:common::config_flow::data::longitude%]",
|
|
"station": "METAR station code"
|
|
},
|
|
"description": "If a METAR station code is not specified, the latitude and longitude will be used to find the closest station. For now, the API key can be anything. It is recommended to use a valid email address.",
|
|
"title": "Connect to the National Weather Service"
|
|
}
|
|
}
|
|
},
|
|
"selector": {
|
|
"nws_forecast_type": {
|
|
"options": {
|
|
"hourly": "Hourly",
|
|
"twice_daily": "Twice daily"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"get_forecasts_extra": {
|
|
"description": "Retrieves extra data for weather forecasts.",
|
|
"fields": {
|
|
"type": {
|
|
"description": "The scope of the weather forecast.",
|
|
"name": "Forecast type"
|
|
}
|
|
},
|
|
"name": "Get extra forecasts data"
|
|
}
|
|
}
|
|
}
|