Commit Graph

5529 Commits

Author SHA1 Message Date
Rotzbua fcdae971e5 fix: Remove outdated @types/debounce (#23063)
`debounce` now includes types.
https://github.com/sindresorhus/debounce/releases/tag/v2.0.0
2024-06-15 10:26:38 +02:00
ghoz ef2c939482 fix: Don't call onEvent on disabled devices (#23058)
As z2m requires a restart for  enable/disable to be effective,
we don't need to handle changes at runtime (stop events etc)
2024-06-15 10:26:06 +02:00
Koen Kanters 85356a2932 fix(ignore): update zigbee-herdsman to 0.50.0 (#23064)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-14 21:29:13 +00:00
Koen Kanters a371347ceb fix(ignore): update zigbee-herdsman-converters to 19.55.0 (#23039)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-13 19:48:53 +00:00
Koen Kanters 0754fa8552 fix(ignore): Improve network key hiding https://github.com/Koenkk/zigbee-herdsman/pull/1086 2024-06-13 21:19:09 +02:00
Koen Kanters 47bba42357 fix(ignore): update zigbee-herdsman-converters to 19.54.0 (#23027)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-12 19:23:25 +00:00
ghoz eff341bd14 fix: Differentiate the MQTT publish/ received from regular MQTT logs (#23026)
* Differentiate the spammy "MQTT publish"/"received MQTT message" from regular logs

Rather than creating subnamespaces, keep the z2m:mqtt logger namespace only for those 2 , move back to z2m default for the rest.

* fix tests
2024-06-12 21:01:16 +02:00
Nerivec 6064194e52 fix: Groups code optimization/formatting (#23015) 2024-06-11 21:08:01 +02:00
Koen Kanters 69541c6348 chore: merge master to dev 2024-06-10 22:18:32 +02:00
Koen Kanters f18473017e chore: Fix problem_report template debugging link 2024-06-10 22:18:15 +02:00
Koen Kanters aa53303c0f fix(ignore): update zigbee-herdsman-converters to 19.53.0 (#23007)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-10 20:14:26 +00:00
Koen Kanters dbcae00316 fix(ignore): update dependencies (#22986) 2024-06-09 15:48:05 +02:00
Koen Kanters a4a0c6f3b9 fix(ignore): update zigbee-herdsman-converters to 19.52.0 (#22982)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-08 16:29:39 +00:00
Koen Kanters fd3d9a318d fix(ignore): update zigbee-herdsman-converters to 19.51.0 (#22953)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-05 18:45:20 +00:00
Koen Kanters 76959067e2 fix(ignore): update zigbee-herdsman to 0.49.3 (#22952)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-05 18:24:11 +00:00
Nerivec 282dfd5b01 fix: Fix floating promises originating from index.js (#22943) 2024-06-05 20:19:53 +02:00
Koen Kanters 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
Koen Kanters 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
ghoz 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
Nerivec 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 Goode 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
Koen Kanters 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 Goode 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
Koen Kanters 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 Goode 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 Kanters 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
Koen Kanters 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 Kanters 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
Koen Kanters 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
Koen Kanters 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
Koen Kanters 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
Koen Kanters 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
Koen Kanters 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
Koen Kanters 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 Ryan 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
Koen Kanters 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
Koen Kanters 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
Koen Kanters 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
Koen Kanters 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 Kanters 3b7392ead2 fix(ignore): Revert "Update dependencies" (#22753)
This reverts commit 5ad7e1541f.
2024-05-23 20:39:30 +02:00
Koen Kanters 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 Kanters 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