forked from home-assistant/core
Add frontend to default config
This commit is contained in:
@@ -78,7 +78,7 @@ def ensure_config_path(config_dir):
|
|||||||
if not os.path.isfile(config_path):
|
if not os.path.isfile(config_path):
|
||||||
try:
|
try:
|
||||||
with open(config_path, 'w') as conf:
|
with open(config_path, 'w') as conf:
|
||||||
conf.write("[http]\n\n")
|
conf.write("[frontend]\n\n")
|
||||||
conf.write("[discovery]\n\n")
|
conf.write("[discovery]\n\n")
|
||||||
except IOError:
|
except IOError:
|
||||||
print(('Fatal Error: No configuration file found and unable '
|
print(('Fatal Error: No configuration file found and unable '
|
||||||
|
Reference in New Issue
Block a user