Rob van Oostenrijk
0182c4b32e
fix: Ignore symbolic links in data during backup ( #28132 )
...
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
2025-07-31 20:26:36 +02:00
Nerivec
db20369447
fix: Various fixes to align behaviors (+add benchmarks for dev) ( #28011 )
2025-07-18 21:34:51 +02:00
Koen Kanters
c87d4524d5
fix(ignore): Migrate to Biome 2 ( #27785 )
2025-06-28 10:20:41 +02:00
Nerivec
cd9b752ede
feat: New health extension & extras in bridge/info ( #27164 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2025-06-16 19:45:36 +02:00
Koen Kanters
69364c958f
fix: Trim name on rename ( #27332 )
2025-05-06 21:49:24 +02:00
Nerivec
6fbb8b5ca2
fix: Migrate to Biome ( #27150 )
2025-04-18 20:34:47 +02:00
Nerivec
8df5a484fc
feat: Availability improvements ( #26811 )
2025-04-13 20:49:28 +02:00
Nerivec
fc31e0af0a
fix(ignore): partial cleanup for biome move ( #27076 )
2025-04-12 14:02:47 +02:00
Nerivec
db578d9d11
fix: Use dynamic import for optional extensions ( #26735 )
2025-03-15 08:07:56 +01:00
Koen Kanters
be722a0500
fix(ignore): Move to Node16 module ( #26717 )
2025-03-12 20:01:11 +00:00
Koen Kanters
fcbb355f47
Revert "fix(ignore): Move to Node16 module ( #26704 )"
...
This reverts commit ea5e0d47a5 .
2025-03-12 07:25:37 +01:00
Koen Kanters
ea5e0d47a5
fix(ignore): Move to Node16 module ( #26704 )
2025-03-11 21:51:04 +01:00
Nerivec
8775ceb0c1
fix: General cleanup ( #26595 )
2025-03-03 21:12:57 +01:00
Koen Kanters
1e7e00e8dd
fix(ignore): Improvements for #25299 ( #25364 )
2024-12-30 14:30:54 +01:00
Koen Kanters
329b8c9c27
fix: Improve device icon serving ( #25299 )
2024-12-28 15:07:02 +01:00
Nerivec
06f44533af
feat: Use Vitest for testing ( #25284 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-12-22 20:19:45 +01:00
Nerivec
758ab34747
fix(ignore): import using node: prefix for built-in ( #25248 )
2024-12-18 22:19:33 +01:00
Koen Kanters
c3b4628a1d
fix: Remove oneOf bool/obj from settings schema ( #25195 )
...
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
2024-12-17 22:27:55 +01:00
Nerivec
1a9c79bb2f
feat: Typing for MQTT API ( #25098 )
2024-12-07 20:21:30 +00:00
Koen Kanters
a6b36051f0
fix!: Ensure data in response is always empty on error ( #24971 )
2024-12-01 20:11:34 +01:00
Nerivec
9907005256
feat: Live loading of external JS (converters/extensions) ( #24764 )
...
* feat: Live loading of external JS (converters/extensions)
* Fix imports
* Improve error message on MQTT save
* Handle non-existing base path
* Throw on bad converter
* Add tests
* Fix use of ext conv in network map tests.
* More coverage.
* Dont mock zhc for basics, tests actual live loading
* Update
* feat: Live loading of external JS (converters/extensions)
* Fix imports
* Improve error message on MQTT save
* Handle non-existing base path
* Throw on bad converter
* Add tests
* Fix use of ext conv in network map tests.
* More coverage.
* Dont mock zhc for basics, tests actual live loading
* Update
* Fix rebase
* Fix
* Bump zhc
* pretty
* fix typing
* Cleanup `external_converters` setting remnants.
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-12-01 20:11:34 +01:00
Koen Kanters
8aef77e57e
fix(ignore): Remove external definition type
2024-12-01 20:11:34 +01:00
Nerivec
e052988663
fix: Use built-in async for mqtt ( #24786 )
...
* fix: Use async for mqtt.
* Update mocks, fix expects
* Prettier.
* Use appropriate error for publish
* Set max listeners immediately after connect
* Add mqtt v5+ `disconnect` event handler
* Set maximum packet size in `CONNECT` packet
* Fix tests.
* Add setting for maximum packet size.
* Add `reasonString` to disconnect logs
* Fix tests
* Fix
* Prettier
2024-12-01 20:11:34 +01:00
Nerivec
6f6e7c3ee0
fix: Refactor tests to TS ( #24357 )
2024-12-01 20:09:27 +01:00
Koen Kanters
b6186623f0
feat!: The big cleanup ( #24200 )
...
* Remove `deviceGroupMembership`
* Fix controller.ts
* Remove `legacy_api` logic from non-legacy extensions.
* Fix network map coverage.
* Remove all `legacy` extensions.
* Remove `legacy_availability_payload`, `legacy_api`. Remove legacy from configure.
* Fix prettier.
* Remove some leftovers
* Renamed `updateAvailable` to `update_available`
* Remove emitPublishAvailability
* Remove `configuration.yaml`
* Switch to pnpm
* Remove direct mqtt-packet dependency.
* fix pretty
* fix `getDependencyVersion`
* fix pnpm publish
* fix(ignore): fix pnpm publish
* Remove deprecated bridge `config/*`
* Improve update script
* Improve update.sh
---------
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
2024-12-01 20:06:49 +01:00
Koen Kanters
e642f7c86a
fix(ignore): Sync eslint settings from zhc ( #23951 )
...
* fix(ignore): Sync eslint settings from zhc
* u
2024-09-12 19:36:57 +00:00
Koen Kanters
afd80449b3
fix(ignore): Migrate to eslint 9 ( #23800 )
...
* Eslint 9
* Automatic changes
* Manual changes
* Process feedback
* u
2024-09-08 14:26:18 +02:00
Nerivec
48d77e4b5e
fix: Enforce TS strict type checking ( #23601 )
...
* Enforce TS `strict` type checking.
* updates
* updates
* updates
* Updates
* Updates
* pretty
* u
* u
* u
* Updates
* updates
* Updates
* Updates
* `ReadonlyArray`
* scenesChanged
* objectID
* Improve coverage
* u
* u
* process feedback
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-09-07 11:40:50 +00:00
Koen Kanters
64222d231f
Update zigbee-herdsman-converters to 20.8.5 ( #23799 )
...
* fix(ignore): update zigbee-herdsman-converters to 20.8.5
* Update utils.ts
2024-09-01 19:23:14 +00:00
Nerivec
13ac8a0f53
fix: Improve looping performance ( #23541 )
...
* Use herdsman improved looping.
* Fix lint.
* Fix tests.
* Feedback
2024-08-08 20:21:40 +02:00
Koen Kanters
bd7dec0f11
fix(ignore): update dependencies ( #23508 )
...
* fix(ignore): update dependencies
* update
---------
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com >
2024-08-05 21:08:40 +00:00
Koen Kanters
8397f47649
fix: Fix availability blocking other extensions startup ( #23316 )
...
* fix: Fix availability blocking frontend startup
* Process feedback
* fix
2024-07-11 21:07:01 +02:00
Koen Kanters
30227a13ae
chore: Implement prettier ( #23153 )
...
* chore: Implement prettier
* Run prettier
* fix lint
* process feedback
* process feedback
2024-06-24 18:58:47 +00:00
Nerivec
f57465324a
fix: Availability code optimization/formatting ( #23065 )
...
* Availability code optimization/formatting
* Fix mock.
* Fix map => some
2024-06-16 17:25:40 +02:00
ghoz
d41cf43a7c
fix: Exclude homeassistant entries from null cleanup ( #22995 )
...
* exclude homeassistant entries from null cleanup
* Add a test
* Don't hardcode the exclude list, add one more test
* implement suggested changes as per review
2024-06-15 10:27:29 +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
Koen Kanters
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
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