mirror of
https://github.com/home-assistant/core.git
synced 2026-12-04 12:50:45 -04:00
Add data descriptions to AEMET OpenData config flow (#194164)
Co-authored-by: Jorge Diez <10463494+jorgediez@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Jorge Diez
Claude Opus 5.5
parent
d92006e93f
commit
02b9adeae5
@@ -14,12 +14,18 @@
|
||||
"data": {
|
||||
"api_key": "[%key:common::config_flow::data::api_key%]"
|
||||
},
|
||||
"data_description": {
|
||||
"api_key": "[%key:component::aemet::config::step::user::data_description::api_key%]"
|
||||
},
|
||||
"description": "The AEMET OpenData API key is no longer valid. AEMET API keys expire periodically, so you need to generate a new one at {api_key_url}"
|
||||
},
|
||||
"reconfigure": {
|
||||
"data": {
|
||||
"api_key": "[%key:common::config_flow::data::api_key%]"
|
||||
},
|
||||
"data_description": {
|
||||
"api_key": "[%key:component::aemet::config::step::user::data_description::api_key%]"
|
||||
},
|
||||
"description": "Enter a new AEMET OpenData API key. AEMET API keys expire periodically, and you can generate a new one at {api_key_url}"
|
||||
},
|
||||
"user": {
|
||||
@@ -28,6 +34,10 @@
|
||||
"location": "[%key:common::config_flow::data::location%]",
|
||||
"name": "Name of the integration"
|
||||
},
|
||||
"data_description": {
|
||||
"api_key": "The API key from your AEMET OpenData account. It is free, but you need to register to get one.",
|
||||
"location": "The location used for the weather forecast and sensors. AEMET OpenData only covers Spain."
|
||||
},
|
||||
"description": "To generate API key go to {api_key_url}"
|
||||
}
|
||||
}
|
||||
@@ -53,6 +63,10 @@
|
||||
"data": {
|
||||
"radar_updates": "Gather data from AEMET weather radar",
|
||||
"station_updates": "Gather data from AEMET weather stations"
|
||||
},
|
||||
"data_description": {
|
||||
"radar_updates": "Download the AEMET weather radar image and create an image entity for it.",
|
||||
"station_updates": "Get current observations from the nearest AEMET weather station, in addition to the town forecast."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user