From eb36174b510c72d599ed66e9c9f1f41e3c8199d7 Mon Sep 17 00:00:00 2001 From: Andrey Date: Sat, 25 Feb 2017 22:54:04 +0200 Subject: [PATCH] Make glob preserve order (#6224) --- homeassistant/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/config.py b/homeassistant/config.py index f4cb1e5248b..639e73793eb 100644 --- a/homeassistant/config.py +++ b/homeassistant/config.py @@ -301,7 +301,7 @@ def async_process_ha_core_config(hass, config): # Customize cust_exact = dict(config[CONF_CUSTOMIZE]) cust_domain = dict(config[CONF_CUSTOMIZE_DOMAIN]) - cust_glob = dict(config[CONF_CUSTOMIZE_GLOB]) + cust_glob = OrderedDict(config[CONF_CUSTOMIZE_GLOB]) for name, pkg in config[CONF_PACKAGES].items(): pkg_cust = pkg.get(CONF_CORE)