Files
core/homeassistant/components/nws/strings.json
Norbert Rittel 772e7147bd Fix user-facing strings of the NWS integration (#138727)
- fix sentence-casing of "API key" to match common string
- remove excessive trailing period from action name
- reword action description to match HA style
- make "Forecast type" description UI-friendly (a selector is available)
2025-02-17 21:51:30 +02:00

44 lines
1.3 KiB
JSON

{
"config": {
"step": {
"user": {
"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",
"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"
}
}
},
"error": {
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"unknown": "[%key:common::config_flow::error::unknown%]"
},
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
}
},
"selector": {
"nws_forecast_type": {
"options": {
"hourly": "Hourly",
"twice_daily": "Twice daily"
}
}
},
"services": {
"get_forecasts_extra": {
"name": "Get extra forecasts data",
"description": "Retrieves extra data for weather forecasts.",
"fields": {
"type": {
"name": "Forecast type",
"description": "The scope of the weather forecast."
}
}
}
}
}