mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Default config: add recorder
This commit is contained in:
parent
1ce8b6de7a
commit
10bbc3d6e1
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user