From 235ab64066b1681ce51a4c26d903f6849c4510bc Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 16 Jan 2020 18:25:49 +0100 Subject: [PATCH] Deprecate weblink integration (#30834) --- homeassistant/components/weblink/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/homeassistant/components/weblink/__init__.py b/homeassistant/components/weblink/__init__.py index be6814da30c..8a770f916bd 100644 --- a/homeassistant/components/weblink/__init__.py +++ b/homeassistant/components/weblink/__init__.py @@ -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):