Preserve customize glob order. (#6963)
* Preserve customize glob order. * add tests
This commit is contained in:
parent
3e66df50c8
commit
f96e06a2c2
4 changed files with 24 additions and 2 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue