Zigbee2mqtt settings reset to default once in a while

Hi,
I am using the “Availability Timeout” setting to detect if a device is plugged and working
This setting is available via \config\zigbee2mqtt\configuration.yaml file
and also in the UI via the settings->advanced

Once in a while, it looks like the configuration.yaml file is being reset and all my settings revert to default.
Is there a way to prevent this behavior?

1 Like

I have the same problem.

Zigbee2Mqtt does not work because the default config is incorrect.

I edit /config/zigbee2mqtt/configuration.yaml, save. When I restart the Zigbee2Mqtt addon, my edits are discarded and the addon is still not working.

Please help.

PS By default the content of that file is in JSON format! :see_no_evil:

I think I solved the issue by using the configuration panel instead of editing the yaml file.
goto: Supervisor → Zigbee2mqtt → configuration
edit your changes there instead.

after a few restarts, I see that configuration now persist