diff --git a/resotolib/resotolib/config.py b/resotolib/resotolib/config.py index 4d9f4e2d0f..e0b0e8e41c 100644 --- a/resotolib/resotolib/config.py +++ b/resotolib/resotolib/config.py @@ -147,6 +147,8 @@ def load_config(self, reload: bool = False) -> None: def read_config(config: Json) -> Dict[str, Any]: new_config = {} for config_id, config_data in config.items(): + if config_data is None: + config_data = {} if config_id in Config.running_config.classes: log.debug(f"Loading config section {config_id}") clazz: Type[Any] = Config.running_config.classes.get(config_id, Any)