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
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
Koen Kanters
dd1e0db407
fix(ignore): Use zhc types ( #20006 )
...
* fix(ignore): Use zhc TS types
* updates
2023-12-04 10:05:05 +01:00
Der Mundschenk & Compagnie
838629ca42
feat: Add Home Assistant scene discovery ( #19838 )
...
* Add device info for Zigbee Groups
* Move Scene and getScenes to utils.ts
* Add auto-discovery for group scenes
* Update scene auto-discovery on change
* Add support for single endpoint scenes
* Add test for onScenesChanged
* Move Scene to types.d.ts
* Allow optional object_id_postfix key in payload
* Add scene name to object_id for nicer HA entity_id
2023-11-26 19:38:53 +01:00
Koen Kanters
e36983b4b5
fix: Publish zigbee-herdsman/zigbee-herdsman-converters version to bridge/info ( #19364 )
2023-10-21 10:56:31 +02:00
Ilya Kirov
4bd281ce6c
fix(ignore): Add ep l till 24 ( #18422 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2023-07-25 17:53:31 +00:00
Jorge Schrauwen
91f22f1230
fix(ignore): Add th1-th10 endpoints for Ubisys H10 ( #18405 )
...
See koenkk/zigbee2mqtt#18121
2023-07-23 18:37:56 +02:00
Matt
05cb1406bb
Fix extension path to make debugging easier in VS Code ( #15741 )
...
* Fix extension path to make debugginge easier in VScode
* Fix linting error
2022-12-25 16:57:48 +01:00
Koen Kanters
1f642d86e8
Add disabled option ( #15589 )
...
* Add disabled option
* Updates
* Tests
* Add restart required
2022-12-23 23:56:29 +01:00
github-actions[bot]
9289a26f11
Update dependencies ( #15204 )
...
* Update dependencies
* Fix diff
* fix
* update
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-11-27 14:52:47 +01:00
Matt
4d7b1a6c03
Allow Zigbee2MQTT to be installed as a module ( #14396 )
...
* Fix mnodule resolution
Allows the correct module path to be found if installed as a package
* Correct signature to avoid TS error
* Allow module to be included in another module
Only create hash ot auto-start if it is the main module, otherwise export the `start` function
2022-10-08 10:48:15 +02:00
Koen Kanters
50b5c67dde
Support effects for Home Assistant light groups. #13438
2022-10-08 10:22:26 +02:00
Jorge Schrauwen
a0255d0f2c
Always treat filtered_* as full matches ( #13083 )
...
* Revert "update tests to use regex ^$ anchors"
This reverts commit 3d9bc552e9 .
* utils: filterProperties should ensure full match
2022-07-11 17:24:34 +02:00
Jorge Schrauwen
db021e6711
Allow regexes for filtered_attributes, filtered_cache and filtered_optimistic options ( #13047 )
...
* Ensure filtered_attributes and filtered_optimistic are also regex
Bring filtered_attributes and filtered_optimistic in line with the newer filtered_cache.
All three of them are now regex matches instead of absolute matches.
* update tests to use regex ^$ anchors
* utils: add filterProperties
2022-07-06 17:07:22 +02:00
Koen Kanters
83b490a968
Add zigbee2mqtt/bridge/request/backup ( #12797 )
...
* Add backup call
* Updates
2022-06-14 20:14:01 +02:00
Koen Kanters
d0530b8214
Don't allow friendly names to include control character. #12379
2022-05-04 21:00:29 +02:00
Koen Kanters
8bf06901c2
Availability for groups ( #11626 )
...
* Availability for groups. https://github.com/Koenkk/zigbee2mqtt/issues/9176
* Updates
* Fix
2022-03-14 15:51:02 +01:00
Koen Kanters
e5d6bd1d68
Don't cache no_occupancy_since. https://github.com/Koenkk/zigbee2mqtt/issues/11183
2022-03-07 18:38:36 +01:00
Koen Kanters
41ece365aa
Allow to configure availablility payloads to be a JSON object. #10802
2022-02-02 19:28:44 +01:00
Koen Kanters
30177b0db4
Restructure settings ( #10437 )
...
* -
* deep copy schema
* -
* -
* -
* -
* -
* -
* -
* -
* -
* -
* -
* -
2022-01-09 22:28:44 +01:00
amadeo-alex
df182be21f
Fix log commit hash newline ( #9897 )
...
* Added trim operation before commitHash is returned
* Update utils.ts
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-11-30 12:24:36 +08:00
Koen Kanters
65f7fc0532
Fix lint errors of 0a7a477281
2021-11-27 09:36:03 +01:00
Koen Kanters
0a7a477281
Send only 1 MQTT message when last_seen is enabled and Zigbee message is received. https://github.com/Koenkk/zigbee2mqtt/issues/9519
2021-11-27 09:31:31 +01:00
Koen Kanters
0282011255
Replace old availability implementation with new one ( #8904 )
...
* Update
* Updates
* More refactoringzzz
* Bindoo
* Loadz of typescripting
* Logga
* Updates
* Updates
* Updates
* Updates
* cleanup
* updates
* Fix coverage
* Fixes
* Updates
* Updates
* Replace old availability implementation with new one.
2021-10-02 10:25:43 +02:00
Koen Kanters
045ee573a0
Final TypeScript refactor ( #8859 )
...
* Update
* Updates
* More refactoringzzz
* Bindoo
* Loadz of typescripting
* Logga
* Updates
* Updates
* Updates
* Updates
* cleanup
* updates
* Fix coverage
* Fixes
* Updates
* Updates
2021-10-02 10:09:38 +02:00
Koen Kanters
8d9f14e30b
Fix device configuring with endpoint ID not working. https://github.com/nurikk/zigbee2mqtt-frontend/issues/874
2021-09-29 22:00:01 +02:00
Koen Kanters
89dea86b3a
Refactor HomeAssistant extension to TypeScript
2021-09-22 18:04:57 +02:00
Koen Kanters
ca3c6ce32f
More TypeScript refactoring ( #8797 )
...
* ts
* Updates
2021-09-18 18:23:28 +02:00
Koen Kanters
4125ae0888
TypeScript refactoring ( #8567 )
...
* Updates
* Updates
* Updates
* Rename
* Updates
* updates
* Updates
* Updates
2021-09-01 20:39:17 +02:00
Koen Kanters
17b2315d89
Enable Home Assistant availability_mode all only when new availability feature is enabled. #6281
2021-08-28 16:20:02 +02:00
Koen Kanters
22430631d2
Honour legacy availability options and retrieve state when device reconnects #6281 ( #8545 )
...
* Availability
* Updates
2021-08-28 10:08:09 +02:00
Koen Kanters
3774a78134
Migrate utils to typescript.
2021-08-25 20:11:55 +02:00