Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration files are overwritten during standard configuration creation #25330

ReneNulschDE opened this issue Jul 20, 2019 · 1 comment


Copy link

commented Jul 20, 2019

Home Assistant release with the issue:


Last working Home Assistant release (if known):

Operating environment (

Dev Setup on Linux Mint 19


Description of problem:
automation.yaml and secrets.yaml are overwritten in case no configuration.yaml is present at startup. Possible data loss esp. for the secrets.yaml

Repro steps:

  1. Backup your config
  2. Check the backup of your config
  3. Stop HA
  4. Delete configuration.yaml
  5. Start HA


  1. configuration.yaml is created --> fine
  2. automation.yaml and secrets.yaml are empty or have the HA default values

Expected Result:

  1. Do not touch the automation.yaml or secrets.yaml
  2. make a backup of the files before overwriting

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:
Relevant code


This comment has been minimized.

Copy link

commented Jul 20, 2019

Similar issues: #10190, #11213, #11216/#11269

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.