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

Migrate HomeAssistant Config Files Location #541

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

krkeegan
Copy link
Collaborator

Proposed change

The new location will be backed up by a Home Assistant snapshot and is Home Assistant's preferred location for storing config files going forward.

  1. If a config.yaml file is not found in the new location; AND
  2. A config.yaml file is found at the old location; THEN
  3. Copy the entire contents of the old config directory to the new one
  4. Add a notice file to the old config directory telling users:
  • The new location of their config files
  • That they can delete these config files if everything is working correctly.

This process should ensure that no data is lost and should provide enough guidance to users on where their config files are located.

Additional information

Checklist

  • The code change is tested and works locally.
  • Local tests pass.
  • Code documentation was added where necessary
  • Documentation added/updated

I have updated and added comments about the location of the new config files in every location in documentation that I can think of.

hassio/entrypoint.sh Outdated Show resolved Hide resolved
hassio/entrypoint.sh Show resolved Hide resolved
krkeegan and others added 2 commits November 15, 2024 09:57
Co-authored-by: tstabrawa <59430211+tstabrawa@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants