mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Deprecate Dune HD YAML configuration (#68381)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
5ed5bccfe8
commit
dfc689f49a
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user