Preserve customize glob order. (#6963)

* Preserve customize glob order.

* add tests
This commit is contained in:
Andrey authored and Paulus Schoutsen committed 2017-04-08 04:50:52 -07:00
1 parent 69dee168a1
commit 5d1dbd61b2
4 files changed
+24 -2

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ CUSTOMIZE_CONFIG_SCHEMA = vol.Schema({
vol.Optional(CONF_CUSTOMIZE_DOMAIN, default={}):
vol.Schema({cv.string: dict}),
vol.Optional(CONF_CUSTOMIZE_GLOB, default={}):
vol.Schema({cv.string: dict}),
cv.ordered_dict(OrderedDict, cv.string),
})
CORE_CONFIG_SCHEMA = CUSTOMIZE_CONFIG_SCHEMA.extend({