mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Enable history component instead of recorder by default
This commit is contained in:
parent
8c20e5137e
commit
6c4e044c92
@ -80,7 +80,7 @@ def ensure_config_path(config_dir):
|
|||||||
with open(config_path, 'w') as conf:
|
with open(config_path, 'w') as conf:
|
||||||
conf.write("[frontend]\n\n")
|
conf.write("[frontend]\n\n")
|
||||||
conf.write("[discovery]\n\n")
|
conf.write("[discovery]\n\n")
|
||||||
conf.write("[recorder]\n\n")
|
conf.write("[history]\n\n")
|
||||||
except IOError:
|
except IOError:
|
||||||
print(('Fatal Error: No configuration file found and unable '
|
print(('Fatal Error: No configuration file found and unable '
|
||||||
'to write a default one to {}').format(config_path))
|
'to write a default one to {}').format(config_path))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user