diff --git a/homeassistant/__main__.py b/homeassistant/__main__.py index e4ee9a51fab..cd4a98e5967 100644 --- a/homeassistant/__main__.py +++ b/homeassistant/__main__.py @@ -80,6 +80,7 @@ def ensure_config_path(config_dir): with open(config_path, 'w') as conf: conf.write("[frontend]\n\n") conf.write("[discovery]\n\n") + conf.write("[recorder]\n\n") except IOError: print(('Fatal Error: No configuration file found and unable ' 'to write a default one to {}').format(config_path))