mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Fix swapped variables deprecation in log message (#37901)
This commit is contained in:
@@ -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])
|
||||||
|
Reference in New Issue
Block a user