mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 17:57:55 +00:00
Add frontend to default config
This commit is contained in:
parent
13ac71bdf0
commit
6878fc254a
@ -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 '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user