@matter-server/custom-clusters 0.2.6 → 0.2.7-alpha.0-20260118-993a1c7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,8 +52,8 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
52
52
  * SPDX-License-Identifier: Apache-2.0
53
53
  */
54
54
  var _motionSensitivity_dec, _valvePosition_dec, _weatherTrend_dec, _pressure_dec, _altitude_dec, _obstructionDetected_dec, _current_dec, _voltage_dec, _wattAccumulatedControlPoint_dec, _wattAccumulated_dec, _watt_dec, _timesOpened_dec, _EveCluster_decorators, _init;
55
- import { attribute, bool, cluster, int32, single, uint32 } from "@matter/main/model";
56
- _EveCluster_decorators = [cluster(319486977)], _timesOpened_dec = [attribute(319422470, int32)], _watt_dec = [attribute(319422474, single)], _wattAccumulated_dec = [attribute(319422475, single)], _wattAccumulatedControlPoint_dec = [attribute(319422478, uint32)], _voltage_dec = [attribute(319422472, single)], _current_dec = [attribute(319422473, single)], _obstructionDetected_dec = [attribute(319422480, bool)], _altitude_dec = [attribute(319422483, single)], _pressure_dec = [attribute(319422484, single)], _weatherTrend_dec = [attribute(319422485, int32)], _valvePosition_dec = [attribute(319422488, uint32)], _motionSensitivity_dec = [attribute(319422477, uint32)];
55
+ import { attribute, bool, cluster, single, uint32 } from "@matter/main/model";
56
+ _EveCluster_decorators = [cluster(319486977)], _timesOpened_dec = [attribute(319422470, uint32)], _watt_dec = [attribute(319422474, single)], _wattAccumulated_dec = [attribute(319422475, single)], _wattAccumulatedControlPoint_dec = [attribute(319422478, uint32)], _voltage_dec = [attribute(319422472, single)], _current_dec = [attribute(319422473, single)], _obstructionDetected_dec = [attribute(319422480, bool)], _altitude_dec = [attribute(319422483, single)], _pressure_dec = [attribute(319422484, uint32)], _weatherTrend_dec = [attribute(319422485, uint32)], _valvePosition_dec = [attribute(319422488, uint32)], _motionSensitivity_dec = [attribute(319422477, uint32)];
57
57
  class EveCluster {
58
58
  constructor() {
59
59
  __publicField(this, "timesOpened", __runInitializers(_init, 8, this)), __runInitializers(_init, 11, this);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/clusters/eve.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,SAAS,WAAW,MAAM,SAAS,OAAO,QAAQ,cAAc;AAEhE,0BAAC,QAAQ,SAAU,IAEf,oBAAC,UAAU,WAAY,KAAK,IAG5B,aAAC,UAAU,WAAY,MAAM,IAG7B,wBAAC,UAAU,WAAY,MAAM,IAG7B,oCAAC,UAAU,WAAY,MAAM,IAG7B,gBAAC,UAAU,WAAY,MAAM,IAG7B,gBAAC,UAAU,WAAY,MAAM,IAG7B,4BAAC,UAAU,WAAY,IAAI,IAG3B,iBAAC,UAAU,WAAY,MAAM,IAG7B,iBAAC,UAAU,WAAY,MAAM,IAG7B,qBAAC,UAAU,WAAY,KAAK,IAG5B,sBAAC,UAAU,WAAY,MAAM,IAG7B,0BAAC,UAAU,WAAY,MAAM;AAlC1B,MAAM,WAAW;AAAA,EAAjB;AAEH;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAAA;AACJ;AApCO;AAEH,2CADA,kBADS;AAKT,oCADA,WAJS;AAQT,+CADA,sBAPS;AAWT,2DADA,kCAVS;AAcT,uCADA,cAbS;AAiBT,uCADA,cAhBS;AAoBT,mDADA,0BAnBS;AAuBT,wCADA,eAtBS;AA0BT,wCADA,eAzBS;AA6BT,4CADA,mBA5BS;AAgCT,6CADA,oBA/BS;AAmCT,iDADA,wBAlCS;AAAA,aAAN,0CADP,wBACa;AAAN,4BAAM;",
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,SAAS,WAAW,MAAM,SAAS,QAAQ,cAAc;AAEzD,0BAAC,QAAQ,SAAU,IAEf,oBAAC,UAAU,WAAY,MAAM,IAG7B,aAAC,UAAU,WAAY,MAAM,IAG7B,wBAAC,UAAU,WAAY,MAAM,IAG7B,oCAAC,UAAU,WAAY,MAAM,IAG7B,gBAAC,UAAU,WAAY,MAAM,IAG7B,gBAAC,UAAU,WAAY,MAAM,IAG7B,4BAAC,UAAU,WAAY,IAAI,IAG3B,iBAAC,UAAU,WAAY,MAAM,IAG7B,iBAAC,UAAU,WAAY,MAAM,IAG7B,qBAAC,UAAU,WAAY,MAAM,IAG7B,sBAAC,UAAU,WAAY,MAAM,IAG7B,0BAAC,UAAU,WAAY,MAAM;AAlC1B,MAAM,WAAW;AAAA,EAAjB;AAEH;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAAA;AACJ;AApCO;AAEH,2CADA,kBADS;AAKT,oCADA,WAJS;AAQT,+CADA,sBAPS;AAWT,2DADA,kCAVS;AAcT,uCADA,cAbS;AAiBT,uCADA,cAhBS;AAoBT,mDADA,0BAnBS;AAuBT,wCADA,eAtBS;AA0BT,wCADA,eAzBS;AA6BT,4CADA,mBA5BS;AAgCT,6CADA,oBA/BS;AAmCT,iDADA,wBAlCS;AAAA,aAAN,0CADP,wBACa;AAAN,4BAAM;",
5
5
  "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matter-server/custom-clusters",
3
- "version": "0.2.6",
3
+ "version": "0.2.7-alpha.0-20260118-993a1c7",
4
4
  "type": "module",
5
5
  "description": "Custom cluster definitions for matter.js based projects",
6
6
  "bugs": {
@@ -4,11 +4,11 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import { attribute, bool, cluster, int32, single, uint32 } from "@matter/main/model";
7
+ import { attribute, bool, cluster, single, uint32 } from "@matter/main/model";
8
8
 
9
9
  @cluster(0x130afc01)
10
10
  export class EveCluster {
11
- @attribute(0x130a0006, int32)
11
+ @attribute(0x130a0006, uint32)
12
12
  timesOpened?: number;
13
13
 
14
14
  @attribute(0x130a000a, single)
@@ -32,10 +32,10 @@ export class EveCluster {
32
32
  @attribute(0x130a0013, single)
33
33
  altitude?: number;
34
34
 
35
- @attribute(0x130a0014, single)
35
+ @attribute(0x130a0014, uint32)
36
36
  pressure?: number;
37
37
 
38
- @attribute(0x130a0015, int32)
38
+ @attribute(0x130a0015, uint32)
39
39
  weatherTrend?: number;
40
40
 
41
41
  @attribute(0x130a0018, uint32)