mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Fix swapped variables deprecation in log message (#37901)
This commit is contained in:
parent
16e5d02794
commit
93c6a9cd96
@ -511,8 +511,8 @@ async def async_process_ha_core_config(hass: HomeAssistant, config: Dict) -> Non
|
|||||||
elif LEGACY_CONF_WHITELIST_EXTERNAL_DIRS in config:
|
elif LEGACY_CONF_WHITELIST_EXTERNAL_DIRS in config:
|
||||||
_LOGGER.warning(
|
_LOGGER.warning(
|
||||||
"Key %s has been replaced with %s. Please update your config",
|
"Key %s has been replaced with %s. Please update your config",
|
||||||
CONF_ALLOWLIST_EXTERNAL_DIRS,
|
|
||||||
LEGACY_CONF_WHITELIST_EXTERNAL_DIRS,
|
LEGACY_CONF_WHITELIST_EXTERNAL_DIRS,
|
||||||
|
CONF_ALLOWLIST_EXTERNAL_DIRS,
|
||||||
)
|
)
|
||||||
hac.allowlist_external_dirs.update(
|
hac.allowlist_external_dirs.update(
|
||||||
set(config[LEGACY_CONF_WHITELIST_EXTERNAL_DIRS])
|
set(config[LEGACY_CONF_WHITELIST_EXTERNAL_DIRS])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user