Zigbee2mqtt 'configuration.yaml' file location issue

Hello
I have installed zigbee2mqtt on my Pi4 HomeAssistant.

I read that I can set config parameters via UI and also from /config/zigbee2mqtt/configuration.yaml

Issue is, whatever changes I make from UI, I do not see it gets changed in file at /config/zigbee2mqtt/configuration.yaml

Whatever changes I directly make via file editor /config/zigbee2mqtt/configuration.yaml, I do not see effect in UI.

I also deleted /config/zigbee2mqtt/configuration.yaml file and still add-on works properly.

following is my UI screenshot.

and following is the configuration.yaml code

homeassistant: true
advanced:
  transmit_power: 20
  network_key:
    - 211
    - 150
    - 34
    - 252
    - 8
    - 131
    - 16
    - 166
    - 135
    - 53
    - 29
    - 252
    - 174
    - 249
    - 23
    - 63
  pan_id: 42963
  ext_pan_id:
    - 253
    - 130
    - 9
    - 95
    - 88
    - 183
    - 166
    - 67
  homeassistant_legacy_entity_attributes: false
  legacy_api: false
  legacy_availability_payload: false
mqtt:
  server: mqtt://core-mosquitto:1883
  user: addons
  password: opeeNgaivoshe
serial:
  port: tcp://192.168.0.197:6638
  baudrate: 115200
  disable_led: false
frontend:
  port: 8099
device_options:
  legacy: false
1 Like

Having same question here :slight_smile:

I am also having the same problem :frowning:

The addon UI Configuration section isn’t used any more. Use the config/zigbee2mqtt/configuration.yaml file or preferably configure it from the zigbee2mqtt web interface Settings menu (cog icon up the top of the page).

https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/blob/62a09780a02e69ae80747c768338f409fb4cda04/zigbee2mqtt/DOCS.md#configuration