Skip to content

Commit

Permalink
Merge pull request #29 from Luligu/dev
Browse files Browse the repository at this point in the history
Release 2.1.0
  • Loading branch information
Luligu committed Jun 19, 2024
2 parents dd8fdc2 + 621aeec commit c4b49c4
Show file tree
Hide file tree
Showing 8 changed files with 348 additions and 343 deletions.
12 changes: 12 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,19 @@ __test__
.eslintrc
.eslintrc.json
.eslintignore
eslint.config.js

# prettier
.prettierignore
.prettierrc.json
prettier.config.js

# jest
jest.config.js

# screenshot
screenshot

# other stuff
TODO.md
yellow-button.png
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

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

## [2.1.0] - 2024-06-19

### Added

- [dependencies]: Update dependencies.
- [schema]: Added schema to the root directory of the plugin.
- [z2m]: Added soil_moisture property as humidity sensor.
- [z2m]: Added transition if the zigbee device supports it and the controller sends it. You can disable this globally adding transition to the featureBlackList or only for the single device adding transition to the deviceFeatureBlackList. (Thanks Stefan Schweiger).

### Changed

- [matter]: Removed PowerSourceConfiguration cluster that is deprecated in Matter 1.3.

### Fixed

- [schema]: Username and password are no more required fields (Thanks Stefan Schweiger).
- [LevelControl]: Fixed the commandHandler for LevelControl in child endpoint (Thanks jpadie).
- [availability]: Fixed the issue that caused the availability event sent before the start to be ignored.

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

## [2.0.17] - 2024-06-16

### Fixed
Expand Down
98 changes: 98 additions & 0 deletions matterbridge-zigbee2mqtt.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"title": "Matterbridge zigbee2mqtt plugin",
"description": "matterbridge-zigbee2mqtt v. 2.0.17 by https://github.com/Luligu",
"type": "object",
"required": ["host", "port", "topic"],
"properties": {
"name": {
"description": "Plugin name",
"type": "string",
"readOnly": true
},
"type": {
"description": "Plugin type",
"type": "string",
"readOnly": true
},
"host": {
"description": "Host",
"type": "string"
},
"username": {
"description": "Username",
"type": "string"
},
"password": {
"description": "Password",
"type": "string"
},
"port": {
"description": "Port",
"type": "number"
},
"topic": {
"description": "Topic",
"type": "string"
},
"blackList": {
"description": "The devices in the list will not be exposed.",
"type": "array",
"items": {
"type": "string"
}
},
"whiteList": {
"description": "Only the devices in the list will be exposed.",
"type": "array",
"items": {
"type": "string"
}
},
"switchList": {
"description": "The devices in the list will be exposed like switches.",
"type": "array",
"items": {
"type": "string"
}
},
"lightList": {
"description": "The devices in the list will be exposed like lights.",
"type": "array",
"items": {
"type": "string"
}
},
"outletList": {
"description": "The devices in the list will be exposed like outlets.",
"type": "array",
"items": {
"type": "string"
}
},
"featureBlackList": {
"description": "The features in the list will not be exposed for all devices.",
"type": "array",
"items": {
"type": "string"
}
},
"deviceFeatureBlackList": {
"description": "List of features not to be exposed for a single device. Enter in the first field the name of the device and in the second field add all the features to exclude.",
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
}
},
"debug": {
"description": "Enable the debug for the plugin (development only)",
"type": "boolean"
},
"unregisterOnShutdown": {
"description": "Unregister all devices on shutdown (development only)",
"type": "boolean"
}
}
}
Loading

0 comments on commit c4b49c4

Please sign in to comment.