Nerivec
8775ceb0c1
fix: General cleanup ( #26595 )
2025-03-03 21:12:57 +01:00
Simon Rettberg
bfeac07c4c
fix: Implement systemd-notify directly ( #26456 )
...
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2025-03-02 08:59:28 +01:00
Filip
845e03e48a
fix: Allow configuring number of folders of old logs to keep ( #26398 )
...
Co-authored-by: Filip Vilicic <kusefin@hotmail.com >
2025-02-17 14:04:39 +01:00
gracianodias3
5cf4547fe0
fix: Allow to set throttle via frontend ( #25997 )
2025-01-25 20:00:09 +01:00
Koen Kanters
5e60f1dc8d
fix(ignore): Remove adapter auto from schema ( #25896 )
2025-01-19 12:58:35 +00:00
Koen Kanters
2d5e7bf9ff
fix: Fix Error: write after end error ( #25737 )
2025-01-11 14:11:26 +01:00
Jens-Uwe Mager
26ef565c8a
feat: Add a settings option to log to console in json format ( #25649 )
...
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
2025-01-08 19:22:26 +00:00
Koen Kanters
1667ba64ac
fix: Remove invalid warn log_level https://github.com/nurikk/zigbee2mqtt-frontend/issues/2369 ( #25634 )
2025-01-06 21:45:55 +01:00
Koen Kanters
ed75553603
fix(ignore): Fix availabilty, frontend and homeassistant cannot be disabled via the frontend https://github.com/nurikk/zigbee2mqtt-frontend/issues/2339
2024-12-30 21:23:27 +01:00
Koen Kanters
1e7e00e8dd
fix(ignore): Improvements for #25299 ( #25364 )
2024-12-30 14:30:54 +01:00
Koen Kanters
02666e9139
fix(ignore): Fix 2 to 3 migration enabling frontend/availabilty/homeassistant when not set ( #25349 )
2024-12-30 14:22:18 +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
Koen Kanters
2abf55ccf8
fix!: Change default homeassistant.status_topic to homeassistant/status ( #25286 )
2024-12-21 20:33:44 +00:00
Koen Kanters
7170215e96
fix: Fix log directories not being deleted ( #25282 )
2024-12-21 16:54:19 +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
1c75eef16d
fix(ignore): remove dep in favor of built-in ( #25250 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-12-17 21:31:21 +01:00
Koen Kanters
39c007d211
fix(ignore): Add back Home Assistant legacy action sensor ( #25192 )
2024-12-14 13:30:33 +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
d78c6facab
fix: Cleanup leftover legacy settings logic ( #24947 )
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
c6958c4991
feat: Automatic settings migration ( #24871 )
...
* feat: Automatic settings migration
* Handle failing on unsupported version.
* Handle change not needed.
* Test change not wanted.
* Cleanup.
* Add `external_converters` removal.
* Fix schema export.
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
563514c446
fix!: Rework OTA ( #24634 )
...
* fix(ignore): Update zh and zhc
* update
* Update
* fix
* fix!: Rework OTA
* Import only required from zhc.
* Remove uri-js
* Update settings.schema.json
* fix save
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-12-01 20:11:33 +01:00
Koen Kanters
e290057e21
fix!: Remove deprecated Home Assistant integration features ( #24494 )
...
* Remove `legacy_trigger`
* Remove legacy_entity_attributes
* Remove `LEGACY_MAPPING`
* Finish cleanup
* Updates
* revert some entities removal
* Update
* Updates
2024-12-01 20:11:06 +01:00
Koen Kanters
3f76586a50
fix!: Remove configuring group members through configuration.yaml ( #24338 )
...
* fix!: Remove configuring group members through `configuration.yaml`
* Updates
* Updates
* fix
* Updates
* Feedback
2024-12-01 20:09:28 +01:00
Nerivec
6f6e7c3ee0
fix: Refactor tests to TS ( #24357 )
2024-12-01 20:09:27 +01:00
Nerivec
2124d3450c
fix!: Improve permit join ( #24257 )
...
* fix: Improve permit join
* Update Home Assistant permit join switch
* Remove `permit_join` from `settings.schema.json`
* Update zigbee-herdsman version to pre-release.
* Fix pnpm overrides
* Update test/homeassistant.test.js
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-12-01 20:07:06 +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
ca6493528d
fix(ignore): Update dependencies ( #24894 )
2024-11-24 22:01:37 +01:00
Der Mundschenk & Compagnie
848f250dbb
feat: Add experimental support for Home Assistant event entities ( #24233 )
...
* Expose new event entity for actions
* Unify exposed actions for HA
* Fix event tests
* Only add event entities wen homeassistant/experimental_event_entities is true
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-11-03 14:54:42 +01:00
Koen Kanters
e2f19f19b4
fix: Frontend code cleanup @Nerivec ( #24322 )
...
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
2024-10-14 19:56:00 +02:00
Vladimir Kotikov
1fdf0a0a47
feat: Allow serving frontend under subpath ( #24244 )
...
* Allow app running in the server subdirectory
* Use path.posix to manage urls
* Add base_utl to config schema
2024-10-10 14:22:48 +02:00
Massimiliano
076ada2325
fix: Fix group state change for open/close devices ( #24226 )
...
* Fix group state change if OPEN
* Runned Prettier
2024-10-06 21:35:46 +02: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
Tomer
c6ca472ca1
fix: Improve performance when logging is disabled ( #23893 )
...
* Improve log performance
* Bug fix
* Revert sample configuration
* Align package versions
* Revert dependecies version to allow testing
* Update package-lock.json
* Fix prettier issue
* Coverage to 100%
* Fix CR comments
* remove uneeded changes
* Make the same perf optimization to the MQTT messages
* Fix MQTT tests
* prettier fix
* Allow easy mocking of stub logger callTransports function to receive the actual message
* cleanup leftover
* Fix prettier issues
* Finalize logger mock structure and add few lambda log calls
* fix prettier issue
* Run prettier
* Revert "fix prettier issue"
This reverts commit b409d538e3 .
* Update zigbee.ts
Fix prettier issue
* Fix test issues
* Revert await removal
2024-09-12 20:33:05 +02: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
Ilya Kirov
b4176d6fee
feat: Add support for zboss adapter ( #23747 )
...
https://github.com/Koenkk/zigbee-herdsman/pull/1165
2024-08-27 20:37:00 +02: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
5b610afa8f
fix: Add min/max for some adapter options ( #23503 )
...
* fix: Add min/max for some adapter options
* update
2024-08-04 19:53:29 +00:00
Koen Kanters
26b1613948
fix(ignore): Remove some unecessary string concatenations
2024-07-22 21:33:24 +02:00
Koen Kanters
541221bbbd
fix(ignore): Update channel change description ( #23333 )
...
* fix(ignore): Update channel change description
* Update settings.schema.json
2024-07-16 22:02:41 +02: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
Nerivec
6cb62e53cf
fix: Fix syslog output ( #23269 )
2024-07-06 10:57:24 +02:00