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

fix: automatically migrate old configuration file #14

Merged
merged 2 commits into from
Mar 8, 2024
Merged

Conversation

zehnm
Copy link
Contributor

@zehnm zehnm commented Mar 8, 2024

Release 0.13.0 added a new configuration field, which prevented the integration to load old configuration files.
If the new name field is missing, automatically scan the device and update the configuration. This is done during startup and also at the start of a reconfiguration, since the network might not yet be available when the integration starts.

Release 0.13.0 added a new configuration field, which prevented the
integration to load old configuration files.
If the new `name` field is missing, automatically scan the device and
update the configuration. This is done during startup and also at the
start of a reconfiguration, since the network might not yet be available
when the integration starts.
@zehnm zehnm requested a review from martonborzak March 8, 2024 13:19
A quick fix if the device has been renamed.
The configuration will only be persisted at the next setup run.
@zehnm zehnm merged commit 81bc1f5 into main Mar 8, 2024
4 checks passed
@zehnm zehnm deleted the fix/migrate-cfg branch March 8, 2024 14:25
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