Koen Kanters
f774753213
fix(ignore): update zigbee-herdsman-converters to 19.19.1 ( #22171 )
...
* fix(ignore): update zigbee-herdsman-converters to 19.19.1
* fix(configure): pass definition to function call (#22154 )
* Pass definition to configure
* fix test
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
---------
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com >
Co-authored-by: Sergei Salimov <32013287+mrskycriper@users.noreply.github.com >
2024-04-10 22:02:12 +02:00
Koen Kanters
c98e5a74de
fix: Remove deprecated Home Assistant color_mode ( #22142 )
2024-04-08 21:19:17 +02:00
Koen Kanters
002050f35b
fix: Reduce MQTT publishing by excluding debug logging from bridge/logging ( #22066 )
...
* fix: Reduce MQTT publishing by excluding debug logging from `bridge/logging`
* fix tests
* fix
2024-04-06 12:44:43 +02:00
Koen Kanters
9d251dbad5
fix: Disable automatic reconfigure when configureKey changes ( #22088 )
2024-04-04 21:47:44 +02:00
Nerivec
919c4eee73
fix: Cleanup old logger leftovers ( #22069 )
2024-04-04 20:24:39 +02:00
Koen Kanters
780c065fa1
fix(ignore): fix 73566dff98
2024-04-02 22:38:02 +02:00
Nerivec
73566dff98
feat: Unified logging across z2m/zh/zhc ( #21984 )
...
* Unified logging across z2m/zh/zhc
* Updates
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-04-02 22:33:51 +02:00
Koen Kanters
83502f2d30
fix(ignore): Update manufacturer codes ( #21729 )
2024-03-10 19:45:22 +01:00
Sergei Salimov
14e044093c
fix: Home Assistant: remove button name if device_class is present ( #21726 )
...
* Remove preset name if button has device class
* fix device_class for consumer_connected
* combine device_class checks
2024-03-08 22:39:15 +01:00
koenkk
1110d3f8ef
fix: Fix incorrect update state when Z2M is restarted during OTA update https://github.com/Koenkk/zigbee2mqtt/issues/12794
2024-03-05 22:33:33 +01:00
Sergei Salimov
01843fe6c4
fix: Add more Home Assistant entity icons ( #21652 )
2024-03-02 21:46:46 +01:00
Sergei Salimov
9b8583e778
fix: Add noise and noise_detected to HA lookup ( #21610 )
2024-02-29 17:42:48 +01:00
Oleksandr Masliuchenko
471902e531
fix: Improve nested group and device name match ( #21521 )
2024-02-22 19:54:09 +01:00
koenkk
db1e3b73d1
fix: Only configure routers on startup https://github.com/Koenkk/zigbee2mqtt/issues/21446
2024-02-20 20:24:03 +01:00
Artem Draft
fe73db4ff6
fix: trigger_count & power_outage_count adjustments in HA ( #21492 )
2024-02-20 19:47:45 +01:00
Sergei Salimov
24b5f9b43a
feat: Add support for button entity in Home Assistant ( #21372 )
...
* add button entity support
* add enabled_by_default to select
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-02-13 19:43:21 +01:00
Oleksandr Masliuchenko
b4473d6e24
fix: Remove predefined endpoint list, remove limits on device friendly name ( #21325 )
...
* Get rid of predefined list of endpoints, correct friend name validations
* Fix minor bug while parsing a topic for an unknown device
2024-02-10 16:50:44 +01:00
Oleksandr Masliuchenko
81335e5b4b
fix: Remove dependency on predefined list of endpoints (parseEntityID() function) ( #21264 )
...
* Add function resolveEntityByID() function as an improved alternative for parseEntityID()
* Port deviceGroupMembership.ts from parseEntityID() to resolveEntityByID()
* Migrade groups.ts from parseEntityID() to resolveEntityByID()
* Improve test coverage on groups functionality
* Migrate from parseEntityID() to resolveEntityByID() for bridge functionality
* Migrate from parseEntityID() to resolveEntityByID() for bind functionality
* Finally get rid of parseEntityID() function
* Fix linter issues
* Move resolveEntityAndEndpoint() function to zigbee.ts
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-02-08 20:54:05 +01:00
Oleksandr Masliuchenko
a5a87a79a8
fix: Match endpoint name in the MQTT topic based on endpoints listed in the definition ( #21214 )
...
* Add endpoint matching based on the endpoint names list in the device definition
* Cleanup debug prints
* Correct creating endpoint names list, filter out null elements
* Correct test due to slightly changed behavior
* Fix endpoint name lookup when converter does not provide full name-to-id mapping
* Simplify topic name matching
* Remove obsolete branches, improve code coverage
* Make linter happy
* Make linter happy
* Remove dependency on endpoint names while removing device from all groups
* Get rid of predefined list of endpoints when processing group state update
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-02-07 20:12:48 +01:00
Koen Kanters
92e0d7895b
Update zigbee-herdsman to 0.33.8 ( #21246 )
...
* fix(ignore): update zigbee-herdsman to 0.33.8
* fix
---------
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com >
2024-02-05 19:57:03 +00:00
Der Mundschenk & Compagnie
6372d84259
fix: Republish correctly on scene changes to Home Assistant ( #20952 )
2024-01-23 19:25:18 +01:00
Sergei Salimov
92588fefe3
fix: Home Assistant: additional icons for Aqara TRV entities and various others ( #20903 )
...
* Add schedule and schedule_settings icons
* Add various missing entities
2024-01-20 08:36:18 +01:00
slugzero
e76f568f0f
fix: Remove deprecated sendWhen ( #20861 )
2024-01-18 18:28:52 +01:00
mrskycriper
ac74fac1db
fix: Added icon and device_class for some Aqara device entities ( #20746 )
...
* Update homeassistant.ts
* Update homeassistant.ts
* Update homeassistant.ts
* Update homeassistant.ts
* Remove entity_category and add some icons and device classes
* Remove device_class for calibrated because of inverted state mapping
2024-01-17 19:44:52 +01:00
slugzero
0007db42b0
fix(ignore): Ability to trigger events from converters on incoming Zigbee messages ( #20776 )
...
* emit event on converter triggers
* use meta.deviceExposesChanged() instead
* add ExposesChanged event for homeassistant discovery
* add tests for receive.ts and homeassistant.ts
2024-01-15 21:08:08 +01:00
slugzero
363792aee8
fix: Set Home Assistant entity categories config and diagnostic according to expose categories ( #20663 )
...
* Add exposes starting with 'config' or 'diagnostic' to respective Home Assistant categories
* alt proposal: default category based on new Expose property
* Use single category 'system' instead of 'config' and 'diagnostic'
* Revert "Use single category 'system' instead of 'config' and 'diagnostic'"
This reverts commit 416dd9c568 .
* lint
2024-01-09 19:54:49 +01:00
Koen Kanters
804182e30c
Update zigbee-herdsman-converters to 18.5.0 ( #20573 )
...
* fix(ignore): update zigbee-herdsman-converters to 18.5.0
* Update receive.ts
---------
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
2024-01-04 16:35:17 +01:00
Der Mundschenk & Compagnie
99a57bfd08
fix: Prevent warnings for bridge entities with legacy_entity_attributes enabled ( #20548 )
2024-01-04 14:54:39 +01:00
Der Mundschenk & Compagnie
b8edf273c6
fix: Support legacy_availability_payload for Home Assistant connection_state ( #20547 )
2024-01-04 14:38:29 +01:00
koenkk
e9aee4c6dc
fix: Fix configure on startup crashing coordinator https://github.com/Koenkk/zigbee2mqtt/issues/20526
2024-01-03 10:51:05 +01:00
koenkk
32b1d5b073
fix: Fix Home Assistant program not truncated when too large https://github.com/Koenkk/zigbee2mqtt/issues/19788
2024-01-02 21:42:49 +01:00
Koen Kanters
ffa43915f0
Update zigbee-herdsman-converters to 18.0.2 ( #20404 )
...
* fix(ignore): update zigbee-herdsman-converters to 18.0.2
* Update bridge.test.js
* Update networkMap.ts
---------
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
2023-12-27 20:53:57 +00:00
Guy Driesen
085b46c995
fix: Add Home Assistant entity_category for various Ubisys D1 entities ( #20393 )
2023-12-27 12:38:42 +01:00
Koen Kanters
e6e3d92971
fix(ignore): Changes for zhc 18.0.0 ( #20390 )
...
* fix(ignore): Changes for zhc 18.0.0
* fix
2023-12-26 19:49:49 +00:00
Koen Kanters
ec06efe86a
Update zigbee-herdsman-converters to 17.1.1 ( #20385 )
...
* fix(ignore): update zigbee-herdsman-converters to 17.1.1
* Update otaUpdate.ts
---------
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
2023-12-26 17:56:54 +00:00
Koen Kanters
56f57625b0
feat: Support automatically generating device definitions ( #20358 )
...
* feat: Support automatically generating device definitions
* updates
* update template
2023-12-25 12:46:57 +01:00
Ilya Kirov
d702919735
fix(ignore): Ability to use a specified endpoint in the Tz.Converter ( #20356 )
...
* Ability to use a specified endpoint in the Tz.Converter
* Update publish.ts
* Update publish.ts
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2023-12-25 10:48:15 +01:00
slugzero
a5b959a6d5
fix: Clear old Home Assistant discovery topics when exposes are changed ( #20313 )
2023-12-20 19:46:59 +01:00
koenkk
2e704f3ff7
fix(ignore): improve 8f62a0a
2023-12-17 14:42:48 +01:00
koenkk
8f62a0a618
fix: Fix Home Assistant Entity category config is invalid for sensors warning https://github.com/Koenkk/zigbee2mqtt/issues/20252
2023-12-17 14:24:12 +01:00
Der Mundschenk & Compagnie
e0f50218d7
fix: Only republish changed scenes to Home Assistant when changed ( #20248 )
2023-12-17 09:21:59 +01:00
koenkk
abde909b71
fix(ignore): Fix OTA sensor discoverd while device doesn't support it https://github.com/Koenkk/zigbee2mqtt/issues/20131
2023-12-11 20:10:08 +01:00
Koen Kanters
0a2d9ba952
chore: merge master to dev
2023-12-10 21:21:18 +01:00
Mario Guggenberger
5aeec130b1
fix: Fix availability checks not stopped on extension stop ( #20093 )
...
* fix: availability checks not stopped on extension stop
* Add test
* Clarify comments
* Simplify test
* Simplify code
2023-12-10 21:20:59 +01:00
Der Mundschenk & Compagnie
a17f650ccb
fix: Prevent duplicate Home Assistant scene entities ( #20097 )
2023-12-08 19:34:37 +01:00
Der Mundschenk & Compagnie
59efc15f3a
fix(ignore): Fix "Permit join timeout" template ( #20096 )
2023-12-08 19:33:30 +01:00
Der Mundschenk & Compagnie
f11eb2459b
feat: Support bridge discovery for Home Assistant ( #19994 )
...
* Simplify getDiscoverKey
* Add support for discovering bridge entities
* Add automatic discovery for bridge
* Make availability configurable and disable it
for `connection_state` entity
* Link devices & groups to bridge
* Additional entities (and some clean-up)
2023-12-06 19:36:45 +01:00
koenkk
8ab96e124f
fix: Don't crash on startup when external converters fails to load https://github.com/Koenkk/zigbee2mqtt/issues/20010
2023-12-04 20:40:45 +01:00
koenkk
04d8522b3b
fix(ignore): fix dd1e0db407
2023-12-04 10:29:09 +01:00
Koen Kanters
dd1e0db407
fix(ignore): Use zhc types ( #20006 )
...
* fix(ignore): Use zhc TS types
* updates
2023-12-04 10:05:05 +01:00