From 85d0f2e8615197c04647b67d2f224d2e4679e6a5 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 d6b1151a14f..852151e83f5 100644 --- a/homeassistant/config.py +++ b/homeassistant/config.py @@ -309,7 +309,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)