From d6c185fdf43eb64d74435401427355c87066ac68 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 20 Feb 2020 16:01:03 +0100 Subject: [PATCH] Deprecate Xfinity Gateway integration (ADR-0004) (#32017) --- homeassistant/components/xfinity/device_tracker.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/xfinity/device_tracker.py b/homeassistant/components/xfinity/device_tracker.py index 20e13682979..832c8bb1d5d 100644 --- a/homeassistant/components/xfinity/device_tracker.py +++ b/homeassistant/components/xfinity/device_tracker.py @@ -24,6 +24,11 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend( def get_scanner(hass, config): """Validate the configuration and return an Xfinity Gateway scanner.""" + _LOGGER.warning( + "The Xfinity Gateway has been deprecated and will be removed from " + "Home Assistant in version 0.109. Please remove it from your " + "configuration. " + ) gateway = XfinityGateway(config[DOMAIN][CONF_HOST]) scanner = None