diff --git a/homeassistant/config.py b/homeassistant/config.py index 5d5d246884c..671be9d22e7 100644 --- a/homeassistant/config.py +++ b/homeassistant/config.py @@ -473,9 +473,12 @@ def load_yaml_config_file( _LOGGER.error(msg) raise HomeAssistantError(msg) - # Convert values to dictionaries if they are None + # Convert values to empty dictionaries if they are None for key, value in conf_dict.items(): - conf_dict[key] = value or {} + if value is not None: + continue + conf_dict[key] = {} + return conf_dict