mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 19:09:32 +00:00
* Ensure we have valid config AFTER merging packages #13015 * also fix packages
This commit is contained in:
committed by
Paulus Schoutsen
parent
7ea7fc8d38
commit
40485a6e89
@@ -562,6 +562,9 @@ def merge_packages_config(config, packages, _log_pkg_error=_log_pkg_error):
|
||||
continue
|
||||
|
||||
if merge_type == 'dict':
|
||||
if comp_conf is None:
|
||||
comp_conf = OrderedDict()
|
||||
|
||||
if not isinstance(comp_conf, dict):
|
||||
_log_pkg_error(
|
||||
pack_name, comp_name, config,
|
||||
|
||||
Reference in New Issue
Block a user