mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Deprecate Xfinity Gateway integration (ADR-0004) (#32017)
This commit is contained in:
parent
aae64dba62
commit
d6c185fdf4
@ -24,6 +24,11 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
|||||||
|
|
||||||
def get_scanner(hass, config):
|
def get_scanner(hass, config):
|
||||||
"""Validate the configuration and return an Xfinity Gateway scanner."""
|
"""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])
|
gateway = XfinityGateway(config[DOMAIN][CONF_HOST])
|
||||||
scanner = None
|
scanner = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user