Skip to content

Releases: gruijter/com.gruijter.zigbee2mqtt

v3.0.2 Stable TS release

15 Dec 11:00
835ad76

Choose a tag to compare

Merge test 3.0.2 to main (#56)

* Refactor: Migrate to TypeScript (#50)

* Refactor: Migrate to TypeScript

* Fix: Runtime errors and TS config adjustments

* Refactor: remove all @ts-ignore

* Fix: fix all eslint problems

* Refacor: add type definition and improve capability mapping

* Refactor: cleanup

* Refactor: add missing files

* v3.0.0 App refactoring to TypeScript. Stability and maintainability improvements.

* Stop tracking node_modules folder

* Update node engine>=18

* Fix color capability mapping and optimize store updates (#51)

* Revert "Fix color capability mapping and optimize store updates (#51)" (#52)

This reverts commit 20b4567316dfa110a9bb414d7b1471410a80e150.

* Fix Action flow cards not working, fix color capability mapping and optimize store updates (#53)

* Fix color capability mapping and optimize store updates

* Fix action flow cards for sub-capabilities (e.g., onoff.l1)

- Add setCapabilityCommand() helper method to Zigbee2MQTTDevice
- Fix app.ts to properly look up Z2M property from Homey capability name
- capabilityMappings is keyed by Z2M property (state_l1), not Homey capability (onoff.l1)

* v3.0.1 Fix custom Action flow cards not working. Fix color capability mapping. Optimize store. Minimum Homey version 12.9.0

* Fix device migration trigger and improve TypeScript types (#54)

* Enhance TypeScript definitions.

* Fix device migration on every app start

- Change capability comparison from index-based to content-based
- Only add capabilities that are in new mappings but not on device
- Only remove capabilities that were in old mappings but not in new mappings
- Preserve Homey-set capabilities that aren't part of Z2M mapping
- Remove redundant setStoreValue call in migrate()
- Move 'migrating' message in setCapabilityUnits() to after change detection

* Fix flow triggers not firing for input devices

- Fix missing await in setCapability() for setCapabilityValue() calls
- Make handleMessage async and await setCapability() calls
- Fix action capability bug: use capVal instead of capVal[1] (capVal is now a string, not an array)
- Replace forEach with for...of loop to properly handle async operations

* v3.0.2 Fix device migration. Fix flow triggers.

---------

Co-authored-by: Luc Verdier <luc.verdier@dougs.fr>

v2.9.1

15 Dec 10:54

Choose a tag to compare

Last non-TS version