mirror of
https://github.com/home-assistant/core.git
synced 2026-04-21 00:49:54 +02:00
Update OpenWeatherMap config step description to clarify API key documentation (#146843)
This commit is contained in:
@@ -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})"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user