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)
This commit is contained in:
Norbert Rittel 2025-02-17 20:51:30 +01:00 committed by GitHub
parent 9ac60f1c7f
commit 772e7147bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
"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, an API Key can be anything. It is recommended to use a valid email address.",
"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%]",
@ -30,12 +30,12 @@
},
"services": {
"get_forecasts_extra": {
"name": "Get extra forecasts data.",
"description": "Get extra data for weather forecasts.",
"name": "Get extra forecasts data",
"description": "Retrieves extra data for weather forecasts.",
"fields": {
"type": {
"name": "Forecast type",
"description": "Forecast type: hourly or twice_daily."
"description": "The scope of the weather forecast."
}
}
}