Deprecate Xfinity Gateway integration (ADR-0004) (#32017)

This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-02-20 16:01:03 +01:00
1 parent aae64dba62
commit d6c185fdf4
1 file changed
+5
@@ -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