root@Motioneyes:/home/fafmotioneyes# cd /opt/zigbee2mqtt root@Motioneyes:/opt/zigbee2mqtt# ./update.sh Stopping Zigbee2MQTT... Creating backup of configuration... Checking out changes to package-lock.json... Updating... remote: Enumerating objects: 2026, done. remote: Counting objects: 100% (1093/1093), done. remote: Compressing objects: 100% (50/50), done. remote: Total 2026 (delta 1058), reused 1068 (delta 1043), pack-reused 933 Réception d'objets: 100% (2026/2026), 1.16 MiB | 29.06 MiB/s, fait. Résolution des deltas: 100% (1516/1516), complété avec 89 objets locaux. Depuis https://github.com/Koenkk/zigbee2mqtt f224ef7b..2a53b8e5 master -> origin/master 4040840d..14e04409 dev -> origin/dev * [nouvelle branche] fix/alpine-3.19 -> origin/fix/alpine-3.19 * [nouvelle branche] fix/manufcodes -> origin/fix/manufcodes * [nouvelle branche] release-please--branches--dev--components--zigbee2mqtt -> origin/release-please--branches--dev--components--zigbee2mqtt * [nouvelle branche] release-please--branches--dev--components--zigbee2mqtt--release-notes -> origin/release-please--branches--dev--components--zigbee2mqtt--release-notes * [nouvelle étiquette] 1.33.1 -> 1.33.1 * [nouvelle étiquette] 1.33.2 -> 1.33.2 * [nouvelle étiquette] 1.34.0 -> 1.34.0 * [nouvelle étiquette] 1.35.0 -> 1.35.0 * [nouvelle étiquette] 1.35.1 -> 1.35.1 * [nouvelle étiquette] 1.35.2 -> 1.35.2 * [nouvelle étiquette] 1.35.3 -> 1.35.3 * [nouvelle étiquette] 1.36.0 -> 1.36.0 Mise à jour f224ef7b..2a53b8e5 Fast-forward .github/ISSUE_TEMPLATE/config.yml | 4 +- .github/ISSUE_TEMPLATE/feature_request.yaml | 4 +- .github/ISSUE_TEMPLATE/new_device_support.yaml | 22 +- .github/ISSUE_TEMPLATE/problem_report.yaml | 13 +- .github/workflows/ci.yml | 56 +- .github/workflows/codeql.yaml | 8 +- .github/workflows/deps_review.yaml | 4 +- .github/workflows/ghcr_cleanup.yml | 2 +- .github/workflows/merge_master_to_dev.yml | 2 +- .github/workflows/release_please.yml | 68 +- .github/workflows/stale.yml | 6 +- .github/workflows/update_dep.yml | 14 +- .github/workflows/update_deps.yml | 12 +- .gitignore | 3 + .npmignore | 1 + .release-please-manifest.json | 3 +- CHANGELOG.md | 369 +++ CONTRIBUTING.md | 4 +- README.md | 6 +- babel.config.js | 1 - docker/Dockerfile | 4 +- lib/controller.ts | 30 +- lib/eventBus.ts | 32 +- lib/extension/availability.ts | 26 +- lib/extension/bind.ts | 17 +- lib/extension/bridge.ts | 68 +- lib/extension/configure.ts | 16 +- lib/extension/extension.ts | 2 +- lib/extension/externalConverters.ts | 26 +- lib/extension/frontend.ts | 5 +- lib/extension/groups.ts | 35 +- lib/extension/homeassistant.ts | 540 +++- lib/extension/legacy/bridgeLegacy.ts | 9 +- lib/extension/legacy/deviceGroupMembership.ts | 13 +- lib/extension/legacy/report.ts | 14 +- lib/extension/legacy/softReset.ts | 4 +- lib/extension/networkMap.ts | 17 +- lib/extension/onEvent.ts | 9 +- lib/extension/otaUpdate.ts | 26 +- lib/extension/publish.ts | 99 +- lib/extension/receive.ts | 29 +- lib/model/device.ts | 41 +- lib/model/group.ts | 5 +- lib/mqtt.ts | 2 +- lib/state.ts | 2 +- lib/types/types.d.ts | 77 +- lib/types/zigbee-herdsman-converters.d.ts | 9 - lib/util/settings.schema.json | 13 +- lib/util/settings.ts | 4 +- lib/util/utils.ts | 100 +- lib/util/yaml.ts | 3 +- lib/zigbee.ts | 49 +- package-lock.json | 10962 ++++++++++++------------------------------------------------------- package.json | 79 +- release-please-config.json | 8 +- scripts/generateChangelog.js | 72 +- scripts/generateNewSupportedDevices.js | 12 - scripts/install.sh | 6 +- test/availability.test.js | 33 +- test/bind.test.js | 34 +- test/bridge.test.js | 108 +- test/configure.test.js | 8 +- test/controller.test.js | 23 +- test/externalConverters.test.js | 36 +- test/frontend.test.js | 25 + test/group.test.js | 28 +- test/homeassistant.test.js | 602 +++- test/networkMap.test.js | 20 +- test/onEvent.test.js | 5 +- test/otaUpdate.test.js | 71 +- test/publish.test.js | 28 +- test/receive.test.js | 34 +- test/settings.test.js | 44 +- test/stub/data.js | 3 + test/stub/sleep.js | 10 + test/stub/zigbeeHerdsman.js | 6 +- test/utils.test.js | 5 +- tsconfig.json | 5 +- update.sh | 32 +- 79 files changed, 4337 insertions(+), 9890 deletions(-) delete mode 100644 lib/types/zigbee-herdsman-converters.d.ts delete mode 100644 scripts/generateNewSupportedDevices.js create mode 100644 test/stub/sleep.js Installing dependencies... npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'zigbee2mqtt@1.36.0', npm WARN EBADENGINE required: { node: '^18 || ^20 || ^21' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@serialport/bindings-cpp@12.0.1', npm WARN EBADENGINE required: { node: '>=16.0.0' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/eslint-plugin@7.0.2', npm WARN EBADENGINE required: { node: '^16.0.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/parser@7.0.2', npm WARN EBADENGINE required: { node: '^16.0.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/scope-manager@7.0.2', npm WARN EBADENGINE required: { node: '^16.0.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/type-utils@7.0.2', npm WARN EBADENGINE required: { node: '^16.0.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/types@7.0.2', npm WARN EBADENGINE required: { node: '^16.0.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/typescript-estree@7.0.2', npm WARN EBADENGINE required: { node: '^16.0.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/utils@7.0.2', npm WARN EBADENGINE required: { node: '^16.0.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@typescript-eslint/visitor-keys@7.0.2', npm WARN EBADENGINE required: { node: '^16.0.0 || >=18.0.0' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'debounce@2.0.0', npm WARN EBADENGINE required: { node: '>=18' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'fast-unique-numbers@9.0.0', npm WARN EBADENGINE required: { node: '>=18.2.0' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'mqtt@5.3.5', npm WARN EBADENGINE required: { node: '>=16.0.0' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'ts-api-utils@1.2.1', npm WARN EBADENGINE required: { node: '>=16' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'zigbee2mqtt-frontend@0.6.159', npm WARN EBADENGINE required: { node: '>=18' }, npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.6.4' } npm WARN EBADENGINE } added 806 packages, and audited 807 packages in 12s 91 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm notice npm notice New major version of npm available! 9.6.4 -> 10.5.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.5.0 npm notice Run npm install -g npm@10.5.0 to update! npm notice Restore configuration... Starting Zigbee2MQTT... Done!