mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Fix load of components without any config from packages (#9901)
* Fix load of components without any config from packages - Add 'None' to the packages config schema validation, to be able to load components without any more configuration from yaml package files, like `wake_on_lan`, `media_extractor` and so on. * test the ability to load components without configuration from packages
This commit is contained in:
committed by
Pascal Vizeli
parent
3de95c068a
commit
875edef3f0
@@ -123,7 +123,7 @@ http_password: welcome
|
||||
|
||||
PACKAGES_CONFIG_SCHEMA = vol.Schema({
|
||||
cv.slug: vol.Schema( # Package names are slugs
|
||||
{cv.slug: vol.Any(dict, list)}) # Only slugs for component names
|
||||
{cv.slug: vol.Any(dict, list, None)}) # Only slugs for component names
|
||||
})
|
||||
|
||||
CUSTOMIZE_CONFIG_SCHEMA = vol.Schema({
|
||||
|
||||
Reference in New Issue
Block a user