* basic spam control
* used npm run pretty:write
* add test for SPAMMER description to comply with 100% coverage test
* define friendly name to spammer test devices
* Update README.md
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* trying now with throttleit library
* lint corrections
* last lint request
* correct await / async definiction
* remove description support
* change first command to be executed
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* Added function to override payloads for non-conforming devices
* override implementation for Bosch BTH-RA
* unit test including mockup for this device
* Experimental and broken integration of overrideHaConfig
* Not working experiments; mqtt publish debug output
* fixes
* Updates
* fix
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* feat: add api for device re-interview
- Adds an API that allows for the re-interview of a device. This can be
useful a device firmware upgrade adds new device endpoints (as is the case
when upgrading an Inovelli VZM31-SN to 2.18). Without the ability to
re-interview, one must remove and re-add the device.
* rename from reinterview to interview
* publish devices after interview.
* only allow device ids or names, not endpoints
* (feat) Expose Custom Clusters in MQTT
- Introducing bridge/definitions
- Updating test case for custom clusters
- Updating new path after ZCL revamp with 0.47.0
This change is needed for nurikk/zigbee2mqtt-frontend#2001
* Fixing test case
* Update lib/model/device.ts
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* Update test/bridge.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* Removing the publishDefinition call from some events. updating tests
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* emit event on converter triggers
* use meta.deviceExposesChanged() instead
* add ExposesChanged event for homeassistant discovery
* add tests for receive.ts and homeassistant.ts
* Fix cover state publishing of multi-endpoint devices
* WIP testing
* WIP test for multiEndpoint cover device
* WIP zigfred plus test
* WIP zigfred plus test
* Remove zigfred plus meta testing flag
* Working zigfred plus integration into bridge test
* Working integration of zigfred plus in tests
* WIP zigfred plus testing
* Add working test for multi-cover devices. Working cover state for multi-cover + multi-light devices.
* Fix republishing of cover state
* Fix cover position and tilt readout with postfix topic
* Fix homeassistant.test.js for zigfred plus cover
* Fix cover value template to support multi-cover devices
* Update homeassistant.ts
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* Binding to new clusters
Binding to new clusters. This is necessary for new EFEKTA devices.
* Update bind.ts
* Fix tests
Co-authored-by: nurikk <ainur@yojee.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* Poll brightness/state after recalling scene
When a ZigBee Scene Controller is recalling a scene through a direct binding
we need to poll for changed state and brightness.
* Also poll for color changes on scene recalling
* Force copy of settings.schema.json
* Update bind.js
* Update zigbeeHerdsman.js
* Update bind.test.js
* Update bind.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>