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: write ZIGBEE2MQTT_CONFIG_* envs to yaml as overrides #26653

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

Nerivec
Copy link
Collaborator

@Nerivec Nerivec commented Mar 7, 2025

Instead of applying ENVs on top of runtime settings, overwrite the corresponding yaml settings.

Should prevent confusion around scenario like HA add-on config page, where ENVs implicitly overrode the yaml.

@Nerivec Nerivec marked this pull request as ready for review March 7, 2025 23:46
@Koenkk Koenkk merged commit f6f7ba6 into Koenkk:dev Mar 8, 2025
13 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Mar 8, 2025

Thanks!

@Nerivec Nerivec deleted the write-envs branch March 8, 2025 13:35
@fensoft
Copy link

fensoft commented Apr 2, 2025

addon should read env variable instead or ask z2m it's current config through a specific endpoint. the config file should not be written for "communication" to somewhere else.

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.

3 participants