Deprecate weblink integration (#30834)

pull/30846/head
Franck Nijhof 2020-01-16 18:25:49 +01:00 committed by Paulus Schoutsen
parent 4544665749
commit 235ab64066
1 changed files with 6 additions and 0 deletions

View File

@ -36,6 +36,12 @@ CONFIG_SCHEMA = vol.Schema(
def setup(hass, config):
"""Set up the weblink component."""
_LOGGER.warning(
"The weblink integration has been deprecated and is pending for removal "
"in Home Assistant 0.107.0. Please use this instead: "
"https://www.home-assistant.io/lovelace/entities/#weblink"
)
links = config.get(DOMAIN)
for link in links.get(CONF_ENTITIES):