Skip to content

Commit

Permalink
Merge pull request #94 from Luligu/dev
Browse files Browse the repository at this point in the history
Release 2.4.3
  • Loading branch information
Luligu authored Jan 20, 2025
2 parents f956503 + fa593b3 commit 3d9b9cb
Show file tree
Hide file tree
Showing 9 changed files with 110 additions and 94 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ If you like this project and find it useful, please consider giving it a star on

All notable changes to this project will be documented in this file.

## [2.4.3] - 2025-01-20

### Fixed

- [plugin]: Requires Matterbridge 1.7.3.
- [package]: Updated dependencies.

<a href="https://www.buymeacoffee.com/luligugithub">
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
</a>

## [2.4.2] - 2025-01-11

### Fixed
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,4 +261,3 @@ For general controller issues check the Matterbridge Known issues section
In the plugin config add each switch device to the lightList or outletList. Matterbridge uses a modified switch device type without client cluster that Alexa doesn't recognize.

## SmartThings

8 changes: 2 additions & 6 deletions matterbridge-zigbee2mqtt.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
"title": "Matterbridge zigbee2mqtt plugin",
"description": "matterbridge-zigbee2mqtt v. 2.0.17 by https://github.com/Luligu",
"type": "object",
"required": [
"host",
"port",
"topic"
],
"required": ["host", "port", "topic"],
"properties": {
"name": {
"description": "Plugin name",
Expand Down Expand Up @@ -138,4 +134,4 @@
"default": false
}
}
}
}
148 changes: 74 additions & 74 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "matterbridge-zigbee2mqtt",
"version": "2.4.2",
"version": "2.4.3",
"description": "Matterbridge zigbee2mqtt plugin",
"author": "https://github.com/Luligu",
"license": "Apache-2.0",
Expand Down Expand Up @@ -89,15 +89,15 @@
"@eslint/js": "9.18.0",
"@types/eslint__js": "8.42.3",
"@types/jest": "29.5.14",
"@types/node": "22.10.5",
"@types/node": "22.10.7",
"eslint": "9.18.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "28.10.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-jest": "28.11.0",
"eslint-plugin-prettier": "5.2.3",
"jest": "29.7.0",
"prettier": "3.4.2",
"ts-jest": "29.2.5",
"typescript": "5.7.3",
"typescript-eslint": "8.19.1"
"typescript-eslint": "8.20.0"
}
}
}
3 changes: 1 addition & 2 deletions src/entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ import {
BridgedDeviceBasicInformation,
ThermostatCluster,
Thermostat,
Endpoint,
getClusterNameById,
powerSource,
bridgedNode,
Expand Down Expand Up @@ -493,7 +492,7 @@ export class ZigbeeEntity extends EventEmitter {
* values to their corresponding indices in the lookup array. The method logs the update process and handles any
* errors that occur during the update.
*/
protected updateAttributeIfChanged(deviceEndpoint: Endpoint, childEndpointName: string | undefined, clusterId: number, attributeName: string, value: PayloadValue, lookup?: string[]): void {
protected updateAttributeIfChanged(deviceEndpoint: MatterbridgeEndpoint, childEndpointName: string | undefined, clusterId: number, attributeName: string, value: PayloadValue, lookup?: string[]): void {
if (childEndpointName && childEndpointName !== '') {
deviceEndpoint = this.bridgedDevice?.getChildEndpointByName(childEndpointName) ?? deviceEndpoint;
}
Expand Down
Loading

0 comments on commit 3d9b9cb

Please sign in to comment.