diff --git a/homeassistant/components/mpchc/media_player.py b/homeassistant/components/mpchc/media_player.py index 0f782a4d3a2..c2d92da7eac 100644 --- a/homeassistant/components/mpchc/media_player.py +++ b/homeassistant/components/mpchc/media_player.py @@ -62,6 +62,14 @@ def setup_platform( discovery_info: DiscoveryInfoType | None = None, ) -> None: """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) host = config.get(CONF_HOST) port = config.get(CONF_PORT)