Zigbee - Duplicated mapping key - issue

hi,
i have upgraded zigbee2mqq to version 2.0, and it stopped to work even i set the configs as advised

i am still getting error :

[16:24:15] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-01-20 16:24:17] error: 	z2m: Error while starting zigbee-herdsman
[2025-01-20 16:24:17] error: 	z2m: Failed to start zigbee-herdsman
[2025-01-20 16:24:17] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-01-20 16:24:17] error: 	z2m: Exiting...
[2025-01-20 16:24:17] error: 	z2m: Error: USB adapter discovery error (No valid USB adapter found). Specify valid 'adapter' and 'port' in your configuration.
    at discoverAdapter (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/adapterDiscovery.ts:523:15)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at Function.create (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/adapter.ts:68:33)
    at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:132:24)
    at Zigbee.start (/app/lib/zigbee.ts:69:27)
    at Controller.start (/app/lib/controller.ts:142:13)
    at start (/app/index.js:161:5)
[2025-01-20 16:24:17] error: 	z2m: If this happens after updating to Zigbee2MQTT 2.0.0, see https://github.com/Koenkk/zigbee2mqtt/discussions/24364
[2025-01-20 16:24:17] error: 	z2m: If this happens after updating to Zigbee2MQTT 2.0.0, see https://github.com/Koenkk/zigbee2mqtt/discussions/24364
[2025-01-20 16:24:17] error: 	z2m: If this happens after updating to Zigbee2MQTT 2.0.0, see https://github.com/Koenkk/zigbee2mqtt/discussions/24364

any idea what issue might be?
thx

seems i was editing wrong configuration.yaml file, but now getting issue:

YAMLException: duplicated mapping key (112:1)
 109 |     friendly_name: Nuos-reading ...
 110 |   '0x54ef441000cd039f':
 111 |     friendly_name: Wall-Power-s ...
 112 | advanced:
-------^
 113 |   log_level: error
 114 | version: 4
    at generateError (/app/node_modules/.pnpm/[email protected]/node_modules/js-yaml/lib/loader.js:183:10)
    at throwError (/app/node_modules/.pnpm/[email protected]/node_modules/js-yaml/lib/loader.js:187:9)
    at storeMappingPair (/app/node_modules/.pnpm/[email protected]/node_modules/js-yaml/lib/loader.js:358:7)
    at readBlockMapping (/app/node_modules/.pnpm/[email protected]/node_modules/js-yaml/lib/loader.js:1173:9)
    at composeNode (/app/node_modules/.pnpm/[email protected]/node_modules/js-yaml/lib/loader.js:1441:12)
    at readDocument (/app/node_modules/.pnpm/[email protected]/node_modules/js-yaml/lib/loader.js:1625:3)
    at loadDocuments (/app/node_modules/.pnpm/[email protected]/node_modules/js-yaml/lib/loader.js:1688:5)
    at Object.load (/app/node_modules/.pnpm/[email protected]/node_modules/js-yaml/lib/loader.js:1714:19)
    at Object.read (/app/lib/util/yaml.ts:23:29)
    at read (/app/lib/util/settings.ts:277:20)
    at read (/app/lib/util/settings.ts:277:20)
    at read (/app/lib/util/settings.ts:277:20)
    at read (/app/lib/util/settings.ts:277:20)
    at read (/app/lib/util/settings.ts:277:20)
    at read (/app/lib/util/settings.ts:277:20)
    at read (/app/lib/util/settings.ts:277:20)

seems duplicates in the configuration.yaml

@phier Can you elaborate on what you did to resolve this? Which config file needs to be changes? The actual yaml file in the zigbee2mqtt folder or the config inside the add-on? I’m getting the same issues and not sure how to resolve.