@matter/model 0.13.0-alpha.0-20250322-f085fa576 → 0.13.0-alpha.0-20250323-770919c6a

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.
@@ -685,8 +685,8 @@ export const ColorControl = Cluster(
685
685
  xref: { document: "cluster", section: "3.2.8.4.3" }
686
686
  }),
687
687
 
688
- Field({ name: "OptionsMask", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
689
- Field({ name: "OptionsOverride", id: 0x4, type: "Options", conformance: "M", constraint: "desc", default: 0 })
688
+ Field({ name: "OptionsMask", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
689
+ Field({ name: "OptionsOverride", id: 0x4, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
690
690
  ),
691
691
 
692
692
  Command(
@@ -707,8 +707,8 @@ export const ColorControl = Cluster(
707
707
  xref: { document: "cluster", section: "3.2.8.5.2" }
708
708
  }),
709
709
 
710
- Field({ name: "OptionsMask", id: 0x2, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
711
- Field({ name: "OptionsOverride", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 })
710
+ Field({ name: "OptionsMask", id: 0x2, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
711
+ Field({ name: "OptionsOverride", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
712
712
  ),
713
713
 
714
714
  Command(
@@ -744,8 +744,8 @@ export const ColorControl = Cluster(
744
744
  xref: { document: "cluster", section: "3.2.8.6.3" }
745
745
  }),
746
746
 
747
- Field({ name: "OptionsMask", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
748
- Field({ name: "OptionsOverride", id: 0x4, type: "Options", conformance: "M", constraint: "desc", default: 0 })
747
+ Field({ name: "OptionsMask", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
748
+ Field({ name: "OptionsOverride", id: 0x4, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
749
749
  ),
750
750
 
751
751
  Command(
@@ -756,8 +756,8 @@ export const ColorControl = Cluster(
756
756
  },
757
757
  Field({ name: "Saturation", id: 0x0, type: "uint8", conformance: "M", constraint: "max 254" }),
758
758
  Field({ name: "TransitionTime", id: 0x1, type: "uint16", conformance: "M", constraint: "max 65534" }),
759
- Field({ name: "OptionsMask", id: 0x2, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
760
- Field({ name: "OptionsOverride", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 })
759
+ Field({ name: "OptionsMask", id: 0x2, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
760
+ Field({ name: "OptionsOverride", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
761
761
  ),
762
762
 
763
763
  Command(
@@ -779,8 +779,8 @@ export const ColorControl = Cluster(
779
779
  xref: { document: "cluster", section: "3.2.8.8.2" }
780
780
  }),
781
781
 
782
- Field({ name: "OptionsMask", id: 0x2, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
783
- Field({ name: "OptionsOverride", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 })
782
+ Field({ name: "OptionsMask", id: 0x2, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
783
+ Field({ name: "OptionsOverride", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
784
784
  ),
785
785
 
786
786
  Command(
@@ -816,8 +816,8 @@ export const ColorControl = Cluster(
816
816
  xref: { document: "cluster", section: "3.2.8.9.3" }
817
817
  }),
818
818
 
819
- Field({ name: "OptionsMask", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
820
- Field({ name: "OptionsOverride", id: 0x4, type: "Options", conformance: "M", constraint: "desc", default: 0 })
819
+ Field({ name: "OptionsMask", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
820
+ Field({ name: "OptionsOverride", id: 0x4, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
821
821
  ),
822
822
 
823
823
  Command(
@@ -829,8 +829,8 @@ export const ColorControl = Cluster(
829
829
  Field({ name: "Hue", id: 0x0, type: "uint8", conformance: "M", constraint: "max 254" }),
830
830
  Field({ name: "Saturation", id: 0x1, type: "uint8", conformance: "M", constraint: "max 254" }),
831
831
  Field({ name: "TransitionTime", id: 0x2, type: "uint16", conformance: "M", constraint: "max 65534" }),
832
- Field({ name: "OptionsMask", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
833
- Field({ name: "OptionsOverride", id: 0x4, type: "Options", conformance: "M", constraint: "desc", default: 0 })
832
+ Field({ name: "OptionsMask", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
833
+ Field({ name: "OptionsOverride", id: 0x4, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
834
834
  ),
835
835
 
836
836
  Command(
@@ -842,8 +842,8 @@ export const ColorControl = Cluster(
842
842
  Field({ name: "ColorX", id: 0x0, type: "uint16", conformance: "M", constraint: "max 65279" }),
843
843
  Field({ name: "ColorY", id: 0x1, type: "uint16", conformance: "M", constraint: "max 65279" }),
844
844
  Field({ name: "TransitionTime", id: 0x2, type: "uint16", conformance: "M", constraint: "max 65534" }),
845
- Field({ name: "OptionsMask", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
846
- Field({ name: "OptionsOverride", id: 0x4, type: "Options", conformance: "M", constraint: "desc", default: 0 })
845
+ Field({ name: "OptionsMask", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
846
+ Field({ name: "OptionsOverride", id: 0x4, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
847
847
  ),
848
848
 
849
849
  Command(
@@ -867,8 +867,8 @@ export const ColorControl = Cluster(
867
867
  xref: { document: "cluster", section: "3.2.8.12.2" }
868
868
  }),
869
869
 
870
- Field({ name: "OptionsMask", id: 0x2, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
871
- Field({ name: "OptionsOverride", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 })
870
+ Field({ name: "OptionsMask", id: 0x2, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
871
+ Field({ name: "OptionsOverride", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
872
872
  ),
873
873
 
874
874
  Command(
@@ -887,8 +887,8 @@ export const ColorControl = Cluster(
887
887
  xref: { document: "cluster", section: "3.2.8.13.2" }
888
888
  }),
889
889
 
890
- Field({ name: "OptionsMask", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
891
- Field({ name: "OptionsOverride", id: 0x4, type: "Options", conformance: "M", constraint: "desc", default: 0 })
890
+ Field({ name: "OptionsMask", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
891
+ Field({ name: "OptionsOverride", id: 0x4, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
892
892
  ),
893
893
 
894
894
  Command(
@@ -899,8 +899,8 @@ export const ColorControl = Cluster(
899
899
  },
900
900
  Field({ name: "ColorTemperatureMireds", id: 0x0, type: "uint16", conformance: "M", constraint: "max 65279" }),
901
901
  Field({ name: "TransitionTime", id: 0x1, type: "uint16", conformance: "M", constraint: "max 65534" }),
902
- Field({ name: "OptionsMask", id: 0x2, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
903
- Field({ name: "OptionsOverride", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 })
902
+ Field({ name: "OptionsMask", id: 0x2, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
903
+ Field({ name: "OptionsOverride", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
904
904
  ),
905
905
 
906
906
  Command(
@@ -927,8 +927,8 @@ export const ColorControl = Cluster(
927
927
  details: "This field shall indicate the transition time, as described in the MoveToHue command.",
928
928
  xref: { document: "cluster", section: "3.2.8.15.3" }
929
929
  }),
930
- Field({ name: "OptionsMask", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
931
- Field({ name: "OptionsOverride", id: 0x4, type: "Options", conformance: "M", constraint: "desc", default: 0 })
930
+ Field({ name: "OptionsMask", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
931
+ Field({ name: "OptionsOverride", id: 0x4, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
932
932
  ),
933
933
 
934
934
  Command(
@@ -952,8 +952,8 @@ export const ColorControl = Cluster(
952
952
  xref: { document: "cluster", section: "3.2.8.16.2" }
953
953
  }),
954
954
 
955
- Field({ name: "OptionsMask", id: 0x2, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
956
- Field({ name: "OptionsOverride", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 })
955
+ Field({ name: "OptionsMask", id: 0x2, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
956
+ Field({ name: "OptionsOverride", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
957
957
  ),
958
958
 
959
959
  Command(
@@ -993,8 +993,8 @@ export const ColorControl = Cluster(
993
993
  xref: { document: "cluster", section: "3.2.8.17.3" }
994
994
  }),
995
995
 
996
- Field({ name: "OptionsMask", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
997
- Field({ name: "OptionsOverride", id: 0x4, type: "Options", conformance: "M", constraint: "desc", default: 0 })
996
+ Field({ name: "OptionsMask", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
997
+ Field({ name: "OptionsOverride", id: 0x4, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
998
998
  ),
999
999
 
1000
1000
  Command(
@@ -1021,8 +1021,8 @@ export const ColorControl = Cluster(
1021
1021
  details: "This field shall indicate the transition time, as described in the MoveToHue command.",
1022
1022
  xref: { document: "cluster", section: "3.2.8.18.3" }
1023
1023
  }),
1024
- Field({ name: "OptionsMask", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
1025
- Field({ name: "OptionsOverride", id: 0x4, type: "Options", conformance: "M", constraint: "desc", default: 0 })
1024
+ Field({ name: "OptionsMask", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
1025
+ Field({ name: "OptionsOverride", id: 0x4, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
1026
1026
  ),
1027
1027
 
1028
1028
  Command(
@@ -1057,8 +1057,8 @@ export const ColorControl = Cluster(
1057
1057
  xref: { document: "cluster", section: "3.2.8.19.4" }
1058
1058
  }),
1059
1059
  Field({ name: "StartHue", id: 0x4, type: "uint16", conformance: "M" }),
1060
- Field({ name: "OptionsMask", id: 0x5, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
1061
- Field({ name: "OptionsOverride", id: 0x6, type: "Options", conformance: "M", constraint: "desc", default: 0 })
1060
+ Field({ name: "OptionsMask", id: 0x5, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
1061
+ Field({ name: "OptionsOverride", id: 0x6, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
1062
1062
  ),
1063
1063
 
1064
1064
  Command(
@@ -1073,8 +1073,8 @@ export const ColorControl = Cluster(
1073
1073
  xref: { document: "cluster", section: "3.2.8.20" }
1074
1074
  },
1075
1075
 
1076
- Field({ name: "OptionsMask", id: 0x0, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
1077
- Field({ name: "OptionsOverride", id: 0x1, type: "Options", conformance: "M", constraint: "desc", default: 0 })
1076
+ Field({ name: "OptionsMask", id: 0x0, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
1077
+ Field({ name: "OptionsOverride", id: 0x1, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
1078
1078
  ),
1079
1079
 
1080
1080
  Command(
@@ -1132,8 +1132,8 @@ export const ColorControl = Cluster(
1132
1132
  xref: { document: "cluster", section: "3.2.8.21.4" }
1133
1133
  }),
1134
1134
 
1135
- Field({ name: "OptionsMask", id: 0x4, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
1136
- Field({ name: "OptionsOverride", id: 0x5, type: "Options", conformance: "M", constraint: "desc", default: 0 })
1135
+ Field({ name: "OptionsMask", id: 0x4, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
1136
+ Field({ name: "OptionsOverride", id: 0x5, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
1137
1137
  ),
1138
1138
 
1139
1139
  Command(
@@ -1199,8 +1199,8 @@ export const ColorControl = Cluster(
1199
1199
  xref: { document: "cluster", section: "3.2.8.22.5" }
1200
1200
  }),
1201
1201
 
1202
- Field({ name: "OptionsMask", id: 0x5, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
1203
- Field({ name: "OptionsOverride", id: 0x6, type: "Options", conformance: "M", constraint: "desc", default: 0 })
1202
+ Field({ name: "OptionsMask", id: 0x5, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
1203
+ Field({ name: "OptionsOverride", id: 0x6, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
1204
1204
  ),
1205
1205
 
1206
1206
  Datatype(
@@ -27,7 +27,7 @@ export const CommissionerControl = Cluster(
27
27
  "The generalized flow supported by the Commissioner Control Cluster can be seen in the following " +
28
28
  "diagram." +
29
29
  "\n" +
30
- "Figure 101. Commissioner Control Cluster - General Flow",
30
+ "Figure 103. Commissioner Control Cluster - General Flow",
31
31
 
32
32
  xref: { document: "core", section: "11.26" }
33
33
  },
@@ -10,8 +10,8 @@ import { MatterDefinition } from "../MatterDefinition.js";
10
10
  import {
11
11
  ClusterElement as Cluster,
12
12
  AttributeElement as Attribute,
13
- DatatypeElement as Datatype,
14
- FieldElement as Field
13
+ FieldElement as Field,
14
+ DatatypeElement as Datatype
15
15
  } from "../../elements/index.js";
16
16
 
17
17
  export const EcosystemInformation = Cluster(
@@ -52,6 +52,40 @@ export const EcosystemInformation = Cluster(
52
52
 
53
53
  Attribute({ name: "ClusterRevision", id: 0xfffd, type: "ClusterRevision", default: 1 }),
54
54
 
55
+ Attribute(
56
+ {
57
+ name: "DeviceDirectory", id: 0x0, type: "list", access: "R F M", conformance: "M", quality: "N",
58
+ details: "This attribute shall contain the list of logical devices represented by a Bridged Node. Most of the " +
59
+ "time this will contain a single entry, but may grow with more complex device compositions (e.g. " +
60
+ "another bridge.)" +
61
+ "\n" +
62
+ "An empty list indicates that the information is not available.",
63
+ xref: { document: "core", section: "9.18.5.1" }
64
+ },
65
+
66
+ Field({ name: "entry", type: "EcosystemDeviceStruct" })
67
+ ),
68
+
69
+ Attribute(
70
+ {
71
+ name: "LocationDirectory", id: 0x1, type: "list", access: "R F M", conformance: "M", quality: "N",
72
+
73
+ details: "This attribute shall contain the list of rooms, areas and groups associated with the DeviceDirectory " +
74
+ "entries, and shall NOT contain locations which are dynamically generated and removed by an " +
75
+ "ecosystem. (E.g. a location that is generated and removed based on the user being home is not " +
76
+ "permitted. However, an initially generated location name that does not quickly change is " +
77
+ "acceptable.)" +
78
+ "\n" +
79
+ "An empty list indicates that the information is not available." +
80
+ "\n" +
81
+ "LocationDirectory entries shall be removed if there is no DeviceDirectory that references it.",
82
+
83
+ xref: { document: "core", section: "9.18.5.2" }
84
+ },
85
+
86
+ Field({ name: "entry", type: "EcosystemLocationStruct" })
87
+ ),
88
+
55
89
  Datatype(
56
90
  { name: "EcosystemDeviceStruct", type: "struct", xref: { document: "core", section: "9.18.4.1" } },
57
91
 
@@ -183,7 +217,13 @@ export const EcosystemInformation = Cluster(
183
217
  xref: { document: "core", section: "9.18.4.2.2" }
184
218
  }),
185
219
 
186
- Field({ name: "LocationDescriptorLastEdit", id: 0x2, type: "epoch-us", access: "S", conformance: "M", default: 0 }),
220
+ Field({
221
+ name: "LocationDescriptorLastEdit", id: 0x2, type: "epoch-us", access: "S", conformance: "M",
222
+ default: 0,
223
+ details: "This field shall indicate the timestamp of when the LocationDescriptor was last modified.",
224
+ xref: { document: "core", section: "9.18.4.2.3" }
225
+ }),
226
+
187
227
  Field({ name: "FabricIndex", id: 0xfe, type: "FabricIndex" })
188
228
  )
189
229
  );
@@ -258,8 +258,8 @@ export const LevelControl = Cluster(
258
258
  },
259
259
  Field({ name: "Level", id: 0x0, type: "uint8", conformance: "M", constraint: "max 254" }),
260
260
  Field({ name: "TransitionTime", id: 0x1, type: "uint16", conformance: "M", quality: "X" }),
261
- Field({ name: "OptionsMask", id: 0x2, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
262
- Field({ name: "OptionsOverride", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 })
261
+ Field({ name: "OptionsMask", id: 0x2, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
262
+ Field({ name: "OptionsOverride", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
263
263
  ),
264
264
 
265
265
  Command(
@@ -288,8 +288,8 @@ export const LevelControl = Cluster(
288
288
  xref: { document: "cluster", section: "1.6.7.2.2" }
289
289
  }),
290
290
 
291
- Field({ name: "OptionsMask", id: 0x2, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
292
- Field({ name: "OptionsOverride", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 })
291
+ Field({ name: "OptionsMask", id: 0x2, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
292
+ Field({ name: "OptionsOverride", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
293
293
  ),
294
294
 
295
295
  Command(
@@ -322,8 +322,8 @@ export const LevelControl = Cluster(
322
322
  xref: { document: "cluster", section: "1.6.7.3.3" }
323
323
  }),
324
324
 
325
- Field({ name: "OptionsMask", id: 0x3, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
326
- Field({ name: "OptionsOverride", id: 0x4, type: "Options", conformance: "M", constraint: "desc", default: 0 })
325
+ Field({ name: "OptionsMask", id: 0x3, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
326
+ Field({ name: "OptionsOverride", id: 0x4, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
327
327
  ),
328
328
 
329
329
  Command(
@@ -331,8 +331,8 @@ export const LevelControl = Cluster(
331
331
  name: "Stop", id: 0x3, access: "O", conformance: "M", direction: "request", response: "status",
332
332
  xref: { document: "cluster", section: "1.6.7.4" }
333
333
  },
334
- Field({ name: "OptionsMask", id: 0x0, type: "Options", conformance: "M", constraint: "desc", default: 0 }),
335
- Field({ name: "OptionsOverride", id: 0x1, type: "Options", conformance: "M", constraint: "desc", default: 0 })
334
+ Field({ name: "OptionsMask", id: 0x0, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 }),
335
+ Field({ name: "OptionsOverride", id: 0x1, type: "OptionsBitmap", conformance: "M", constraint: "desc", default: 0 })
336
336
  ),
337
337
 
338
338
  Command({