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

This commit is contained in:
Franck Nijhof 2020-02-20 16:01:03 +01:00 committed by GitHub
parent aae64dba62
commit d6c185fdf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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