From 93c6a9cd96cad036a465210f41d6d377d3e284e5 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 16 Jul 2020 10:08:05 +0200 Subject: [PATCH] Fix swapped variables deprecation in log message (#37901) --- homeassistant/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/config.py b/homeassistant/config.py index 2ffa69b4ff2..a327ca630f8 100644 --- a/homeassistant/config.py +++ b/homeassistant/config.py @@ -511,8 +511,8 @@ async def async_process_ha_core_config(hass: HomeAssistant, config: Dict) -> Non elif LEGACY_CONF_WHITELIST_EXTERNAL_DIRS in config: _LOGGER.warning( "Key %s has been replaced with %s. Please update your config", - CONF_ALLOWLIST_EXTERNAL_DIRS, LEGACY_CONF_WHITELIST_EXTERNAL_DIRS, + CONF_ALLOWLIST_EXTERNAL_DIRS, ) hac.allowlist_external_dirs.update( set(config[LEGACY_CONF_WHITELIST_EXTERNAL_DIRS])