mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Deprecate Media Player Classic Home Cinema (ADR-0004) (#63598)
This commit is contained in:
parent
9e4e43cf77
commit
80a4ec82b4
@ -62,6 +62,14 @@ def setup_platform(
|
|||||||
discovery_info: DiscoveryInfoType | None = None,
|
discovery_info: DiscoveryInfoType | None = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Set up the MPC-HC platform."""
|
"""Set up the MPC-HC platform."""
|
||||||
|
_LOGGER.warning(
|
||||||
|
"The Media Player Classic Home Cinema integration is now deprecated "
|
||||||
|
"and will be removed in Home Assistant Core 2022.4; "
|
||||||
|
"this integration is removed under Architectural Decision Record 0004, "
|
||||||
|
"more information can be found here: "
|
||||||
|
"https://github.com/home-assistant/architecture/blob/master/adr/0004-webscraping.md"
|
||||||
|
)
|
||||||
|
|
||||||
name = config.get(CONF_NAME)
|
name = config.get(CONF_NAME)
|
||||||
host = config.get(CONF_HOST)
|
host = config.get(CONF_HOST)
|
||||||
port = config.get(CONF_PORT)
|
port = config.get(CONF_PORT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user