Preserve customize glob order. (#6963)
* Preserve customize glob order. * add tests
This commit is contained in:
1 parent
69dee168a1
commit
5d1dbd61b2
4 files changed
+24
-2
No files matched your search
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user