Skip to content

Commit

Permalink
Release 1.2.14
Browse files Browse the repository at this point in the history
  • Loading branch information
Luligu committed May 7, 2024
1 parent 091cc28 commit 2305770
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 5 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

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

## [1.2.14] - 2024-05-09

### Added

- [frontend]: Frontend updated to 0.9.0.
- [frontend]: Added Plugin config editor
- [frontend]: Added tool column to registered plugins with QRCode, Config, Remove and Enable/Disable

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

## [1.2.13] - 2024-05-05

### Added
Expand Down
2 changes: 0 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# TODO list

## docker
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "matterbridge",
"version": "1.2.13",
"version": "1.2.14",
"description": "Matterbridge plugin manager for Matter",
"author": "https://github.com/Luligu",
"license": "Apache-2.0",
Expand Down
23 changes: 23 additions & 0 deletions src/defaultConfigSchema.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
/**
* This file contains the default config end schema for the plugins.
*
* @file utils.ts
* @author Luca Liguori
* @date 2024-05-07
* @version 1.0.0
*
* Copyright 2024 Luca Liguori.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. *
*/

import { PlatformConfig, PlatformSchema } from './matterbridge.js';

export const zigbee2mqtt_config: PlatformConfig = {
Expand Down
4 changes: 2 additions & 2 deletions src/matterbridgeDevice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods<typeof Device
if (includeServerList.includes(BooleanState.Cluster.id)) child.addClusterServer(this.getDefaultBooleanStateClusterServer());
if (includeServerList.includes(OccupancySensing.Cluster.id)) child.addClusterServer(this.getDefaultOccupancySensingClusterServer());
if (includeServerList.includes(IlluminanceMeasurement.Cluster.id)) child.addClusterServer(this.getDefaultIlluminanceMeasurementClusterServer());
if (includeServerList.includes(EveHistory.Cluster.id) && !this.hasClusterServer(EveHistory.Complete)) child.addClusterServer(this.getDefaultStaticEveHistoryClusterServer());
if (includeServerList.includes(ElectricalMeasurement.Cluster.id) && !this.hasClusterServer(ElectricalMeasurement.Complete)) child.addClusterServer(this.getDefaultElectricalMeasurementClusterServer());
if (includeServerList.includes(EveHistory.Cluster.id)) child.addClusterServer(this.getDefaultStaticEveHistoryClusterServer());
if (includeServerList.includes(ElectricalMeasurement.Cluster.id)) child.addClusterServer(this.getDefaultElectricalMeasurementClusterServer());
this.addChildEndpoint(child);
return child;
}
Expand Down

0 comments on commit 2305770

Please sign in to comment.