From e47ed0e182099cc796ec8244342870cdf5d1e2d7 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Fri, 9 Aug 2019 16:47:08 +0200 Subject: [PATCH] Deprecates linksys_ap integration (ADR-0004) (#25804) --- homeassistant/components/linksys_ap/device_tracker.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/homeassistant/components/linksys_ap/device_tracker.py b/homeassistant/components/linksys_ap/device_tracker.py index df24a409b98..d40de718f90 100644 --- a/homeassistant/components/linksys_ap/device_tracker.py +++ b/homeassistant/components/linksys_ap/device_tracker.py @@ -30,6 +30,12 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend( def get_scanner(hass, config): """Validate the configuration and return a Linksys AP scanner.""" + _LOGGER.warning( + "The linksys_ap integration is deprecated and will be removed " + "in Home Assistant 0.100.0. For more information see ADR-0004:" + "https://github.com/home-assistant/architecture/blob/master/adr/0004-webscraping.md" + ) + try: return LinksysAPDeviceScanner(config[DOMAIN]) except ConnectionError: