From dfc689f49a1d1eb9b0def870663251b89fd51e59 Mon Sep 17 00:00:00 2001 From: Robert Hillis Date: Tue, 22 Mar 2022 08:27:54 -0400 Subject: [PATCH] Deprecate Dune HD YAML configuration (#68381) Co-authored-by: Franck Nijhof --- homeassistant/components/dunehd/config_flow.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/homeassistant/components/dunehd/config_flow.py b/homeassistant/components/dunehd/config_flow.py index 6c6f12280f5..434bbc7bd84 100644 --- a/homeassistant/components/dunehd/config_flow.py +++ b/homeassistant/components/dunehd/config_flow.py @@ -76,6 +76,12 @@ class DuneHDConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): self, user_input: dict[str, str] | None = None ) -> FlowResult: """Handle configuration by yaml file.""" + _LOGGER.warning( + "Configuration of the Dune HD integration in YAML is deprecated and will be " + "removed in Home Assistant 2022.6; Your existing configuration " + "has been imported into the UI automatically and can be safely removed " + "from your configuration.yaml file" + ) assert user_input is not None host: str = user_input[CONF_HOST]