mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
committed by
Paulus Schoutsen
parent
34c694c20e
commit
8f807a3006
@@ -113,7 +113,10 @@ def async_from_config_dict(config: Dict[str, Any],
|
||||
yield from hass.async_add_job(loader.prepare, hass)
|
||||
|
||||
# Make a copy because we are mutating it.
|
||||
config = OrderedDict(config)
|
||||
new_config = OrderedDict()
|
||||
for key, value in config.items():
|
||||
new_config[key] = value or {}
|
||||
config = new_config
|
||||
|
||||
# Merge packages
|
||||
conf_util.merge_packages_config(
|
||||
|
Reference in New Issue
Block a user