Commit Graph
5514 Commits
Author SHA1 Message Date
NerivecandGitHub 282dfd5b01 fix: Fix floating promises originating from index.js (#22943) 2024-06-05 20:19:53 +02:00
cdfbb17b4a fix(ignore): update zigbee2mqtt-frontend to 0.7.2 (#22938)
Co-authored-by: nurikk <1525421+nurikk@users.noreply.github.com>
2024-06-04 19:08:43 +00:00
9d95d61e32 fix(ignore): update zigbee-herdsman-converters to 19.50.1 (#22936)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-04 18:36:16 +00:00
881037c371 feat: Allow hierarchical filtering of logger namespaces (#22859)
* POC: Allow hierarchical filtering of logger namespaces

matches the closes defined namespace log level:

advanced:
  log_namespaced_levels:
    'zh:zstack:unpi': info

would also apply to zh:zstack:unpi:write and zh:zstack:unpi:parse

To limit runtime penalty uses the namespacedLevels as a lazy cache

* Move namespace levels to separate cache

Avoid poluting the namespacedLevel in the config / UI
Add cache reset on config time log level change

* Actually use the cache

* Optimize/Cleanup

* Add some namespace hierarchy filter tests

* More coverage.

* Fix #22935

---------

Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com>
2024-06-04 20:17:35 +02:00
NerivecandGitHub 2b8eaa196a fix: Enforce no floating promises (#22880)
* Enforce no floating promises.

* forEach => for/of. Fix tests.
2024-06-04 20:05:39 +02:00
Adam GoodeandGitHub dbf0a3358d fix: Set voc_index to mdi:molecule to match other VOC icons in Home Assistant (#22920) 2024-06-04 20:00:30 +02:00
6fbf14cced fix(ignore): update zigbee-herdsman-converters to 19.50.0 (#22918)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-03 18:55:10 +00:00
Adam GoodeandGitHub 40ad896114 fix: Support ppb and ppm for VOC reporting in Home Assistant (#22895)
See https://github.com/home-assistant/core/pull/92973.
2024-06-03 20:11:40 +02:00
6c123c28b3 fix(ignore): update zigbee-herdsman-converters to 19.49.0 (#22902)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-02 19:25:26 +00:00
Adam GoodeandGitHub 519e123b69 fix: Use occupancy device_class instead of motion for occupancy sensors (#22896)
'occupancy' matches the zigbee terminology more closely and is more
consistent with other Home Assistant entities of this type.

https://www.home-assistant.io/integrations/binary_sensor/

In general, it looks like 'motion' is more for alarms, and 'occupancy'
for non-alarm situations. Z2M currently makes no distinction between
these concepts, but they could be separated (with a fair amount of work).
2024-06-02 21:11:00 +02:00
Koen KantersandGitHub 8b4f753c5d chore: merge master to dev 2024-06-02 15:59:59 +02:00
Koen Kanters 0e6da85d19 chore: fix problem_report.yaml logging link 2024-06-02 15:59:38 +02:00
8f195f67e6 fix(ignore): update dependencies (#22883)
* fix(ignore): update dependencies

* Update homeassistant.test.js

---------

Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-02 11:33:34 +02:00
Koen Kanters 457ed86ef8 fix(ignore): TuYa -> Tuya https://github.com/Koenkk/zigbee2mqtt/discussions/22876 2024-06-01 16:44:22 +02:00
Koen Kanters 6924db79e8 fix: Add logging for interview https://github.com/nurikk/zigbee2mqtt-frontend/pull/2027 2024-06-01 16:30:38 +02:00
github-actions[bot] 137087d8ac chore: promote to dev 2024-06-01 09:29:38 +00:00
Koen KantersandGitHub fe048e6e66 chore(dev): release 1.38.0 (#22867) 1.38.0 2024-06-01 11:18:35 +02:00
Koen Kanters aa439d6687 chore: Move to googleapis/release-please-action@v4 2024-06-01 11:16:56 +02:00
Koen Kanters b5fc1689c4 chore: remove Helm chart, moved to Koenkk/zigbee2mqtt-chart 2024-06-01 11:13:21 +02:00
33d8223e52 fix(ignore): update zigbee-herdsman-converters to 19.47.1 (#22865)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-01 09:05:00 +00:00
2cc68fd862 fix(ignore): update zigbee-herdsman to 0.49.2 (#22864)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-01 08:49:39 +00:00
a02fd3cee6 fix(ignore): update zigbee-herdsman-converters to 19.47.0 (#22855)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-31 18:50:52 +00:00
a3ea91deb9 fix(ignore): update zigbee2mqtt-frontend to 0.7.1 (#22854)
Co-authored-by: nurikk <1525421+nurikk@users.noreply.github.com>
2024-05-31 18:45:28 +00:00
1a12c2f15e fix(ignore): update zigbee-herdsman-converters to 19.46.0 (#22842)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-30 19:24:20 +00:00
f9b0fff185 Update zigbee-herdsman-converters to 19.45.0 (#22814)
* fix(ignore): update zigbee-herdsman-converters to 19.45.0

* fix tests

---------

Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-30 19:20:02 +00:00
Mike RyanandGitHub b6ad6418a1 feat: Add api for device re-interview (#22788)
* feat: add api for device re-interview

- Adds an API that allows for the re-interview of a device. This can be
  useful a device firmware upgrade adds new device endpoints (as is the case
  when upgrading an Inovelli VZM31-SN to 2.18). Without the ability to
  re-interview, one must remove and re-add the device.

* rename from reinterview to interview

* publish devices after interview.

* only allow device ids or names, not endpoints
2024-05-30 20:48:34 +02:00
9f5b5d1a76 fix(ignore): update zigbee-herdsman-converters to 19.44.0 (#22801)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-27 20:29:08 +00:00
0b3f4eb0a7 fix(ignore): update zigbee-herdsman to 0.49.1 (#22800)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-27 20:02:04 +00:00
Koen Kanters ae8a59dd51 fix(ignore): Fix Home Assistant device_automation being cleared due to ef68cc328e 2024-05-27 16:59:56 +02:00
b984a2d092 fix(ignore): update zigbee2mqtt-frontend to 0.7.0 (#22761)
Co-authored-by: nurikk <1525421+nurikk@users.noreply.github.com>
2024-05-24 08:58:34 +00:00
9b3a39415f fix(ignore): update zigbee-herdsman to 0.49.0 (#22754)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-23 18:51:17 +00:00
Koen KantersandGitHub 3b7392ead2 fix(ignore): Revert "Update dependencies" (#22753)
This reverts commit 5ad7e1541f.
2024-05-23 20:39:30 +02:00
5ad7e1541f fix(ignore): update dependencies (#22752)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-23 20:34:36 +02:00
Koen Kanters b2d32657f3 fix(ignore): Allow deprecated warn log_level https://github.com/Koenkk/zigbee2mqtt/issues/22706 2024-05-22 20:12:15 +02:00
Koen KantersandGitHub ef68cc328e fix: Optimize Home Assistant discovery (#22701)
* fix: Optimize Home Assistant discovery

* update

* u

* u

* u

* fix
2024-05-21 20:53:37 +02:00
30f6c8e60c fix(ignore): update zigbee-herdsman-converters to 19.43.0 (#22730)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-21 18:22:36 +00:00
d484405cf0 fix: Expose custom clusters to MQTT (#22583)
* (feat) Expose Custom Clusters in MQTT

- Introducing bridge/definitions
- Updating test case for custom clusters
- Updating new path after ZCL revamp with 0.47.0

This change is needed for nurikk/zigbee2mqtt-frontend#2001

* Fixing test case

* Update lib/model/device.ts

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>

* Update test/bridge.test.js

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>

* Removing the publishDefinition call from some events. updating tests

---------

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2024-05-21 19:54:18 +02:00
75608c79c8 fix(ignore): update zigbee-herdsman-converters to 19.42.0 (#22704)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-20 06:45:16 +00:00
Koen Kanters 63de2c5ccc fix: Fix Entity 'homeassistant/sensor' is unknown https://github.com/Koenkk/zigbee2mqtt/issues/22258 2024-05-19 21:32:09 +02:00
91887c1877 fix(ignore): update zigbee-herdsman to 0.48.1 (#22699)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-19 14:12:19 +00:00
8ab3c464dc fix(ignore): update zigbee2mqtt-frontend to 0.6.168 (#22698)
Co-authored-by: nurikk <1525421+nurikk@users.noreply.github.com>
2024-05-19 14:06:41 +00:00
ce6043acb0 fix: Improve settings changing (#22674)
* Add namespaced levels for logger. Add NS to mqtt. Deprecate 'warn'.

* Improve setting validation.

* Fix setting through frontend

* Support reload + frontend improvements

* update description

* remove requiresRestart

* Fix tests.

* Fix namespaced logging at lower levels. Add better tests.

* fix: Fix settings changing

* remove `removeNullPropertiesFromObject` from bridge

* Add extra test

* update

---------

Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com>
2024-05-19 16:01:28 +02:00
2eec6a4d26 fix: Add namespace-specific levels support to logger (#22619)
* Add namespaced levels for logger. Add NS to mqtt. Deprecate 'warn'.

* Improve setting validation.

* Fix setting through frontend

* Support reload + frontend improvements

* update description

* remove requiresRestart

* Fix tests.

* Fix namespaced logging at lower levels. Add better tests.

---------

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2024-05-19 15:47:40 +02:00
e9b7a847b0 fix(ignore): update zigbee-herdsman-converters to 19.41.0 (#22690)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-18 19:04:07 +00:00
e01662b3a2 fix(ignore): update zigbee-herdsman to 0.48.0 (#22689)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-18 18:54:35 +00:00
2963397b60 fix(ignore): update zigbee-herdsman-converters to 19.40.0 (#22655)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-15 20:01:38 +00:00
2be947b29d fix(ignore): update zigbee-herdsman-converters to 19.39.0 (#22641)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-14 20:20:10 +00:00
4f9658132b fix(ignore): update zigbee-herdsman to 0.47.2 (#22640)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-14 22:13:00 +02:00
Koen KantersandGitHub d39baa6f1d chore: merge master to dev 2024-05-13 22:35:47 +02:00
Koen Kanters cda867a387 fix: Add Node 22 support, remove Node 21 https://github.com/Koenkk/zigbee2mqtt/issues/22595 2024-05-13 22:35:26 +02:00