mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 08:07:45 +00:00
Update OpenWeatherMap config step description to clarify API key documentation (#146843)
This commit is contained in:
parent
db1e6a0d98
commit
bf05c23414
@ -69,6 +69,10 @@ class OpenWeatherMapConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
title=user_input[CONF_NAME], data=data, options=options
|
||||
)
|
||||
|
||||
description_placeholders["doc_url"] = (
|
||||
"https://www.home-assistant.io/integrations/openweathermap/"
|
||||
)
|
||||
|
||||
schema = vol.Schema(
|
||||
{
|
||||
vol.Required(CONF_API_KEY): str,
|
||||
|
@ -17,7 +17,7 @@
|
||||
"mode": "[%key:common::config_flow::data::mode%]",
|
||||
"name": "[%key:common::config_flow::data::name%]"
|
||||
},
|
||||
"description": "To generate API key go to https://openweathermap.org/appid"
|
||||
"description": "To generate an API key, please refer to the [integration documentation]({doc_url})"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user