@matter/types 0.11.9-alpha.0-20241205-ccf69a00a → 0.11.9-alpha.0-20241207-b604cfa44
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.
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +58 -7
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts.map +1 -1
- package/dist/cjs/clusters/bridged-device-basic-information.js +19 -2
- package/dist/cjs/clusters/bridged-device-basic-information.js.map +1 -1
- package/dist/cjs/clusters/content-launcher.d.ts +10 -10
- package/dist/cjs/clusters/content-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/content-launcher.js +22 -22
- package/dist/cjs/clusters/content-launcher.js.map +2 -2
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +411 -25
- package/dist/cjs/clusters/device-energy-management-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/device-energy-management-mode.js +90 -1
- package/dist/cjs/clusters/device-energy-management-mode.js.map +1 -1
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +1253 -42
- package/dist/cjs/clusters/dishwasher-alarm.d.ts.map +1 -1
- package/dist/cjs/clusters/dishwasher-alarm.js +72 -9
- package/dist/cjs/clusters/dishwasher-alarm.js.map +1 -1
- package/dist/cjs/clusters/dishwasher-mode.d.ts +340 -17
- package/dist/cjs/clusters/dishwasher-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/dishwasher-mode.js +91 -2
- package/dist/cjs/clusters/dishwasher-mode.js.map +1 -1
- package/dist/cjs/clusters/door-lock.d.ts +1287 -135
- package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
- package/dist/cjs/clusters/door-lock.js +199 -3
- package/dist/cjs/clusters/door-lock.js.map +1 -1
- package/dist/cjs/clusters/energy-evse-mode.d.ts +409 -25
- package/dist/cjs/clusters/energy-evse-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/energy-evse-mode.js +90 -1
- package/dist/cjs/clusters/energy-evse-mode.js.map +1 -1
- package/dist/cjs/clusters/fan-control.d.ts +5 -0
- package/dist/cjs/clusters/fan-control.d.ts.map +1 -1
- package/dist/cjs/clusters/fan-control.js.map +1 -1
- package/dist/cjs/clusters/groups.d.ts +12 -0
- package/dist/cjs/clusters/groups.d.ts.map +1 -1
- package/dist/cjs/clusters/groups.js +7 -1
- package/dist/cjs/clusters/groups.js.map +1 -1
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +340 -17
- package/dist/cjs/clusters/laundry-washer-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/laundry-washer-mode.js +91 -2
- package/dist/cjs/clusters/laundry-washer-mode.js.map +1 -1
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +330 -13
- package/dist/cjs/clusters/microwave-oven-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/microwave-oven-mode.js +90 -2
- package/dist/cjs/clusters/microwave-oven-mode.js.map +1 -1
- package/dist/cjs/clusters/mode-base.d.ts +68 -68
- package/dist/cjs/clusters/mode-base.d.ts.map +1 -1
- package/dist/cjs/clusters/mode-base.js +16 -16
- package/dist/cjs/clusters/mode-base.js.map +2 -2
- package/dist/cjs/clusters/oven-mode.d.ts +409 -25
- package/dist/cjs/clusters/oven-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/oven-mode.js +90 -1
- package/dist/cjs/clusters/oven-mode.js.map +1 -1
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +15 -0
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts.map +1 -1
- package/dist/cjs/clusters/pump-configuration-and-control.js +6 -1
- package/dist/cjs/clusters/pump-configuration-and-control.js.map +1 -1
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +364 -36
- package/dist/cjs/clusters/refrigerator-alarm.d.ts.map +1 -1
- package/dist/cjs/clusters/refrigerator-alarm.js +46 -8
- package/dist/cjs/clusters/refrigerator-alarm.js.map +1 -1
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +340 -17
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +91 -2
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +374 -23
- package/dist/cjs/clusters/rvc-clean-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-clean-mode.js +99 -6
- package/dist/cjs/clusters/rvc-clean-mode.js.map +2 -2
- package/dist/cjs/clusters/rvc-operational-state.d.ts +248 -22
- package/dist/cjs/clusters/rvc-operational-state.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-operational-state.js +59 -10
- package/dist/cjs/clusters/rvc-operational-state.js.map +1 -1
- package/dist/cjs/clusters/rvc-run-mode.d.ts +401 -40
- package/dist/cjs/clusters/rvc-run-mode.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-run-mode.js +101 -8
- package/dist/cjs/clusters/rvc-run-mode.js.map +2 -2
- package/dist/cjs/clusters/thermostat.d.ts +262 -61
- package/dist/cjs/clusters/thermostat.d.ts.map +1 -1
- package/dist/cjs/clusters/thermostat.js +72 -58
- package/dist/cjs/clusters/thermostat.js.map +1 -1
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +58 -7
- package/dist/esm/clusters/bridged-device-basic-information.d.ts.map +1 -1
- package/dist/esm/clusters/bridged-device-basic-information.js +19 -2
- package/dist/esm/clusters/bridged-device-basic-information.js.map +1 -1
- package/dist/esm/clusters/content-launcher.d.ts +10 -10
- package/dist/esm/clusters/content-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/content-launcher.js +22 -22
- package/dist/esm/clusters/content-launcher.js.map +2 -2
- package/dist/esm/clusters/device-energy-management-mode.d.ts +411 -25
- package/dist/esm/clusters/device-energy-management-mode.d.ts.map +1 -1
- package/dist/esm/clusters/device-energy-management-mode.js +91 -2
- package/dist/esm/clusters/device-energy-management-mode.js.map +1 -1
- package/dist/esm/clusters/dishwasher-alarm.d.ts +1253 -42
- package/dist/esm/clusters/dishwasher-alarm.d.ts.map +1 -1
- package/dist/esm/clusters/dishwasher-alarm.js +72 -9
- package/dist/esm/clusters/dishwasher-alarm.js.map +1 -1
- package/dist/esm/clusters/dishwasher-mode.d.ts +340 -17
- package/dist/esm/clusters/dishwasher-mode.d.ts.map +1 -1
- package/dist/esm/clusters/dishwasher-mode.js +91 -2
- package/dist/esm/clusters/dishwasher-mode.js.map +1 -1
- package/dist/esm/clusters/door-lock.d.ts +1287 -135
- package/dist/esm/clusters/door-lock.d.ts.map +1 -1
- package/dist/esm/clusters/door-lock.js +199 -3
- package/dist/esm/clusters/door-lock.js.map +1 -1
- package/dist/esm/clusters/energy-evse-mode.d.ts +409 -25
- package/dist/esm/clusters/energy-evse-mode.d.ts.map +1 -1
- package/dist/esm/clusters/energy-evse-mode.js +91 -2
- package/dist/esm/clusters/energy-evse-mode.js.map +1 -1
- package/dist/esm/clusters/fan-control.d.ts +5 -0
- package/dist/esm/clusters/fan-control.d.ts.map +1 -1
- package/dist/esm/clusters/fan-control.js.map +1 -1
- package/dist/esm/clusters/groups.d.ts +12 -0
- package/dist/esm/clusters/groups.d.ts.map +1 -1
- package/dist/esm/clusters/groups.js +7 -1
- package/dist/esm/clusters/groups.js.map +1 -1
- package/dist/esm/clusters/laundry-washer-mode.d.ts +340 -17
- package/dist/esm/clusters/laundry-washer-mode.d.ts.map +1 -1
- package/dist/esm/clusters/laundry-washer-mode.js +91 -2
- package/dist/esm/clusters/laundry-washer-mode.js.map +1 -1
- package/dist/esm/clusters/microwave-oven-mode.d.ts +330 -13
- package/dist/esm/clusters/microwave-oven-mode.d.ts.map +1 -1
- package/dist/esm/clusters/microwave-oven-mode.js +91 -3
- package/dist/esm/clusters/microwave-oven-mode.js.map +1 -1
- package/dist/esm/clusters/mode-base.d.ts +68 -68
- package/dist/esm/clusters/mode-base.d.ts.map +1 -1
- package/dist/esm/clusters/mode-base.js +17 -17
- package/dist/esm/clusters/mode-base.js.map +2 -2
- package/dist/esm/clusters/oven-mode.d.ts +409 -25
- package/dist/esm/clusters/oven-mode.d.ts.map +1 -1
- package/dist/esm/clusters/oven-mode.js +91 -2
- package/dist/esm/clusters/oven-mode.js.map +1 -1
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +15 -0
- package/dist/esm/clusters/pump-configuration-and-control.d.ts.map +1 -1
- package/dist/esm/clusters/pump-configuration-and-control.js +6 -1
- package/dist/esm/clusters/pump-configuration-and-control.js.map +1 -1
- package/dist/esm/clusters/refrigerator-alarm.d.ts +364 -36
- package/dist/esm/clusters/refrigerator-alarm.d.ts.map +1 -1
- package/dist/esm/clusters/refrigerator-alarm.js +46 -8
- package/dist/esm/clusters/refrigerator-alarm.js.map +1 -1
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +340 -17
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +91 -2
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
- package/dist/esm/clusters/rvc-clean-mode.d.ts +374 -23
- package/dist/esm/clusters/rvc-clean-mode.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-clean-mode.js +99 -6
- package/dist/esm/clusters/rvc-clean-mode.js.map +2 -2
- package/dist/esm/clusters/rvc-operational-state.d.ts +248 -22
- package/dist/esm/clusters/rvc-operational-state.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-operational-state.js +60 -11
- package/dist/esm/clusters/rvc-operational-state.js.map +1 -1
- package/dist/esm/clusters/rvc-run-mode.d.ts +401 -40
- package/dist/esm/clusters/rvc-run-mode.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-run-mode.js +101 -8
- package/dist/esm/clusters/rvc-run-mode.js.map +2 -2
- package/dist/esm/clusters/thermostat.d.ts +262 -61
- package/dist/esm/clusters/thermostat.d.ts.map +1 -1
- package/dist/esm/clusters/thermostat.js +72 -58
- package/dist/esm/clusters/thermostat.js.map +1 -1
- package/package.json +5 -5
- package/src/clusters/bridged-device-basic-information.ts +46 -2
- package/src/clusters/content-launcher.ts +5 -5
- package/src/clusters/device-energy-management-mode.ts +184 -3
- package/src/clusters/dishwasher-alarm.ts +115 -9
- package/src/clusters/dishwasher-mode.ts +188 -3
- package/src/clusters/door-lock.ts +247 -3
- package/src/clusters/energy-evse-mode.ts +182 -3
- package/src/clusters/fan-control.ts +5 -0
- package/src/clusters/groups.ts +8 -1
- package/src/clusters/laundry-washer-mode.ts +188 -3
- package/src/clusters/microwave-oven-mode.ts +182 -4
- package/src/clusters/mode-base.ts +77 -77
- package/src/clusters/oven-mode.ts +182 -3
- package/src/clusters/pump-configuration-and-control.ts +7 -1
- package/src/clusters/refrigerator-alarm.ts +76 -8
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +188 -3
- package/src/clusters/rvc-clean-mode.ts +227 -10
- package/src/clusters/rvc-operational-state.ts +112 -11
- package/src/clusters/rvc-run-mode.ts +253 -26
- package/src/clusters/thermostat.ts +80 -65
- package/src/globals/WildcardPathFlags.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/clusters/refrigerator-alarm.ts"],
|
|
4
|
-
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,SAAS,sBAAsB;AAC/B,SAAS,gBAAgB,SAAS,eAAe,WAAW,OAAO,qBAAqB;AACxF,SAAS,
|
|
4
|
+
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,SAAS,sBAAsB;AAC/B,SAAS,gBAAgB,SAAS,eAAe,WAAW,OAAO,qBAAqB;AACxF,SAAS,eAAe;AACxB,SAAS,WAAW,iBAAiB;AACrC,SAAS,UAAU,iBAAiB;AAGpC,SAAS,uBAAuB;AAEzB,IAAU;AAAA,CAAV,CAAUA,uBAAV;A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,SAAS,OAAO,EAAE,aAAa,CAAC,KAAK,EAAE,CAAC,EAAE;AAAA,IACzG,QAAQA,mBAAA,QAAQ;AAAA,EACpB,CAAC;AAUM,EAAMA,mBAAA,WAAqBA,mBAAA;AAAA,GAhOrB;AAoOV,MAAM,2BAA2B,kBAAkB;AAC1D,gBAAgB,SAAS,kBAAkB,QAAQ;",
|
|
5
5
|
"names": ["RefrigeratorAlarm", "Feature"]
|
|
6
6
|
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
8
8
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
9
9
|
import { FixedAttribute, Attribute, WritableAttribute, Command } from "../cluster/Cluster.js";
|
|
10
|
+
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
10
11
|
import { Identity } from "#general";
|
|
11
12
|
export declare namespace RefrigeratorAndTemperatureControlledCabinetMode {
|
|
12
13
|
/**
|
|
@@ -37,7 +38,195 @@ export declare namespace RefrigeratorAndTemperatureControlledCabinetMode {
|
|
|
37
38
|
*
|
|
38
39
|
* @see {@link MatterSpecification.v13.Cluster} § 8.7.6.1.2
|
|
39
40
|
*/
|
|
40
|
-
RapidFreeze = 16385
|
|
41
|
+
RapidFreeze = 16385,
|
|
42
|
+
/**
|
|
43
|
+
* The device decides which options, features and setting values to use.
|
|
44
|
+
*
|
|
45
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
46
|
+
*/
|
|
47
|
+
Auto = 0,
|
|
48
|
+
/**
|
|
49
|
+
* The mode of the device is optimizing for faster completion.
|
|
50
|
+
*
|
|
51
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
52
|
+
*/
|
|
53
|
+
Quick = 1,
|
|
54
|
+
/**
|
|
55
|
+
* The device is silent or barely audible while in this mode.
|
|
56
|
+
*
|
|
57
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
58
|
+
*/
|
|
59
|
+
Quiet = 2,
|
|
60
|
+
/**
|
|
61
|
+
* Either the mode is inherently low noise or the device optimizes for that.
|
|
62
|
+
*
|
|
63
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
64
|
+
*/
|
|
65
|
+
LowNoise = 3,
|
|
66
|
+
/**
|
|
67
|
+
* The device is optimizing for lower energy usage in this mode. Sometimes called "Eco mode".
|
|
68
|
+
*
|
|
69
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
70
|
+
*/
|
|
71
|
+
LowEnergy = 4,
|
|
72
|
+
/**
|
|
73
|
+
* A mode suitable for use during vacations or other extended absences.
|
|
74
|
+
*
|
|
75
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
76
|
+
*/
|
|
77
|
+
Vacation = 5,
|
|
78
|
+
/**
|
|
79
|
+
* The mode uses the lowest available setting value.
|
|
80
|
+
*
|
|
81
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
82
|
+
*/
|
|
83
|
+
Min = 6,
|
|
84
|
+
/**
|
|
85
|
+
* The mode uses the highest available setting value.
|
|
86
|
+
*
|
|
87
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
88
|
+
*/
|
|
89
|
+
Max = 7,
|
|
90
|
+
/**
|
|
91
|
+
* The mode is recommended or suitable for use during night time.
|
|
92
|
+
*
|
|
93
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
94
|
+
*/
|
|
95
|
+
Night = 8,
|
|
96
|
+
/**
|
|
97
|
+
* The mode is recommended or suitable for use during day time.
|
|
98
|
+
*
|
|
99
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
100
|
+
*/
|
|
101
|
+
Day = 9
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* A Mode Tag is meant to be interpreted by the client for the purpose the cluster serves.
|
|
105
|
+
*
|
|
106
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1
|
|
107
|
+
*/
|
|
108
|
+
const TlvModeTagStruct: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
109
|
+
/**
|
|
110
|
+
* If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
|
|
111
|
+
* 1.10.8, “Mode Namespace”).
|
|
112
|
+
*
|
|
113
|
+
* This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
|
|
114
|
+
*
|
|
115
|
+
* The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
|
|
116
|
+
* and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
|
|
117
|
+
* whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
|
|
118
|
+
* salt.
|
|
119
|
+
*
|
|
120
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
|
|
121
|
+
*/
|
|
122
|
+
mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
|
|
123
|
+
/**
|
|
124
|
+
* This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
|
|
125
|
+
* standard.
|
|
126
|
+
*
|
|
127
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
|
|
128
|
+
*/
|
|
129
|
+
value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
|
|
130
|
+
}>;
|
|
131
|
+
/**
|
|
132
|
+
* A Mode Tag is meant to be interpreted by the client for the purpose the cluster serves.
|
|
133
|
+
*
|
|
134
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1
|
|
135
|
+
*/
|
|
136
|
+
interface ModeTagStruct extends TypeFromSchema<typeof TlvModeTagStruct> {
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The table below lists the changes relative to the Mode Base cluster for the fields of the ModeOptionStruct type.
|
|
140
|
+
* A blank field indicates no change.
|
|
141
|
+
*
|
|
142
|
+
* At least one entry in the SupportedModes attribute shall include the Auto mode tag in the ModeTags field list.
|
|
143
|
+
*
|
|
144
|
+
* @see {@link MatterSpecification.v13.Cluster} § 8.7.4.1
|
|
145
|
+
*/
|
|
146
|
+
const TlvModeOption: import("../tlv/TlvObject.js").ObjectSchema<{
|
|
147
|
+
/**
|
|
148
|
+
* This field shall indicate readable text that describes the mode option, so that a client can provide it to
|
|
149
|
+
* the user to indicate what this option means. This field is meant to be readable and understandable by the
|
|
150
|
+
* user.
|
|
151
|
+
*
|
|
152
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
|
|
153
|
+
*/
|
|
154
|
+
label: import("../tlv/TlvObject.js").FieldType<string>;
|
|
155
|
+
/**
|
|
156
|
+
* This field is used to identify the mode option.
|
|
157
|
+
*
|
|
158
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
|
|
159
|
+
*/
|
|
160
|
+
mode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
161
|
+
/**
|
|
162
|
+
* This field shall contain a list of tags that are associated with the mode option. This may be used by
|
|
163
|
+
* clients to determine the full or the partial semantics of a certain mode, depending on which tags they
|
|
164
|
+
* understand, using standard definitions and/or manufacturer specific namespace definitions.
|
|
165
|
+
*
|
|
166
|
+
* The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
|
|
167
|
+
* specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
|
|
168
|
+
* mode tag values from that namespace.
|
|
169
|
+
*
|
|
170
|
+
* Mode tags can help clients look for options that meet certain criteria, render the user interface, use
|
|
171
|
+
*
|
|
172
|
+
* the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
|
|
173
|
+
* standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
|
|
174
|
+
*
|
|
175
|
+
* A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
|
|
176
|
+
* and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
|
|
177
|
+
*
|
|
178
|
+
* A few examples are provided below.
|
|
179
|
+
*
|
|
180
|
+
* • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
|
|
181
|
+
* seeking the mode for either High or Max will find the same mode in this case.
|
|
182
|
+
*
|
|
183
|
+
* • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
|
|
184
|
+
* green leaf.
|
|
185
|
+
*
|
|
186
|
+
* • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
|
|
187
|
+
* audible sound, less likely to disturb the household’s activities.
|
|
188
|
+
*
|
|
189
|
+
* • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
|
|
190
|
+
* Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
|
|
191
|
+
*
|
|
192
|
+
* • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
|
|
193
|
+
* RVC Clean cluster that is a derivation of this cluster).
|
|
194
|
+
*
|
|
195
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
|
|
196
|
+
*/
|
|
197
|
+
modeTags: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
198
|
+
/**
|
|
199
|
+
* If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
|
|
200
|
+
* 1.10.8, “Mode Namespace”).
|
|
201
|
+
*
|
|
202
|
+
* This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
|
|
203
|
+
*
|
|
204
|
+
* The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
|
|
205
|
+
* and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
|
|
206
|
+
* whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
|
|
207
|
+
* salt.
|
|
208
|
+
*
|
|
209
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
|
|
210
|
+
*/
|
|
211
|
+
mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
|
|
212
|
+
/**
|
|
213
|
+
* This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
|
|
214
|
+
* standard.
|
|
215
|
+
*
|
|
216
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
|
|
217
|
+
*/
|
|
218
|
+
value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
|
|
219
|
+
}>[]>;
|
|
220
|
+
}>;
|
|
221
|
+
/**
|
|
222
|
+
* The table below lists the changes relative to the Mode Base cluster for the fields of the ModeOptionStruct type.
|
|
223
|
+
* A blank field indicates no change.
|
|
224
|
+
*
|
|
225
|
+
* At least one entry in the SupportedModes attribute shall include the Auto mode tag in the ModeTags field list.
|
|
226
|
+
*
|
|
227
|
+
* @see {@link MatterSpecification.v13.Cluster} § 8.7.4.1
|
|
228
|
+
*/
|
|
229
|
+
interface ModeOption extends TypeFromSchema<typeof TlvModeOption> {
|
|
41
230
|
}
|
|
42
231
|
/**
|
|
43
232
|
* These elements and properties are present in all RefrigeratorAndTemperatureControlledCabinetMode clusters.
|
|
@@ -61,12 +250,79 @@ export declare namespace RefrigeratorAndTemperatureControlledCabinetMode {
|
|
|
61
250
|
/**
|
|
62
251
|
* @see {@link MatterSpecification.v13.Cluster} § 8.7.5
|
|
63
252
|
*/
|
|
64
|
-
readonly supportedModes: FixedAttribute<import("../
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
253
|
+
readonly supportedModes: FixedAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
254
|
+
/**
|
|
255
|
+
* This field shall indicate readable text that describes the mode option, so that a client can provide it to
|
|
256
|
+
* the user to indicate what this option means. This field is meant to be readable and understandable by the
|
|
257
|
+
* user.
|
|
258
|
+
*
|
|
259
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
|
|
260
|
+
*/
|
|
261
|
+
label: import("../tlv/TlvObject.js").FieldType<string>;
|
|
262
|
+
/**
|
|
263
|
+
* This field is used to identify the mode option.
|
|
264
|
+
*
|
|
265
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
|
|
266
|
+
*/
|
|
267
|
+
mode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
268
|
+
/**
|
|
269
|
+
* This field shall contain a list of tags that are associated with the mode option. This may be used by
|
|
270
|
+
* clients to determine the full or the partial semantics of a certain mode, depending on which tags they
|
|
271
|
+
* understand, using standard definitions and/or manufacturer specific namespace definitions.
|
|
272
|
+
*
|
|
273
|
+
* The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
|
|
274
|
+
* specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
|
|
275
|
+
* mode tag values from that namespace.
|
|
276
|
+
*
|
|
277
|
+
* Mode tags can help clients look for options that meet certain criteria, render the user interface, use
|
|
278
|
+
*
|
|
279
|
+
* the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
|
|
280
|
+
* standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
|
|
281
|
+
*
|
|
282
|
+
* A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
|
|
283
|
+
* and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
|
|
284
|
+
*
|
|
285
|
+
* A few examples are provided below.
|
|
286
|
+
*
|
|
287
|
+
* • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
|
|
288
|
+
* seeking the mode for either High or Max will find the same mode in this case.
|
|
289
|
+
*
|
|
290
|
+
* • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
|
|
291
|
+
* green leaf.
|
|
292
|
+
*
|
|
293
|
+
* • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
|
|
294
|
+
* audible sound, less likely to disturb the household’s activities.
|
|
295
|
+
*
|
|
296
|
+
* • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
|
|
297
|
+
* Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
|
|
298
|
+
*
|
|
299
|
+
* • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
|
|
300
|
+
* RVC Clean cluster that is a derivation of this cluster).
|
|
301
|
+
*
|
|
302
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
|
|
303
|
+
*/
|
|
304
|
+
modeTags: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
305
|
+
/**
|
|
306
|
+
* If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
|
|
307
|
+
* 1.10.8, “Mode Namespace”).
|
|
308
|
+
*
|
|
309
|
+
* This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
|
|
310
|
+
*
|
|
311
|
+
* The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
|
|
312
|
+
* and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
|
|
313
|
+
* whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
|
|
314
|
+
* salt.
|
|
315
|
+
*
|
|
316
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
|
|
317
|
+
*/
|
|
318
|
+
mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
|
|
319
|
+
/**
|
|
320
|
+
* This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
|
|
321
|
+
* standard.
|
|
322
|
+
*
|
|
323
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
|
|
324
|
+
*/
|
|
325
|
+
value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
|
|
70
326
|
}>[]>;
|
|
71
327
|
}>[], any>;
|
|
72
328
|
/**
|
|
@@ -90,8 +346,8 @@ export declare namespace RefrigeratorAndTemperatureControlledCabinetMode {
|
|
|
90
346
|
*
|
|
91
347
|
* @see {@link MatterSpecification.v13.Cluster} § 1.10.7.1
|
|
92
348
|
*/
|
|
93
|
-
readonly changeToMode: Command<import("../
|
|
94
|
-
newMode: import("../
|
|
349
|
+
readonly changeToMode: Command<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
350
|
+
newMode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
95
351
|
}>, void, any>;
|
|
96
352
|
};
|
|
97
353
|
/**
|
|
@@ -122,12 +378,79 @@ export declare namespace RefrigeratorAndTemperatureControlledCabinetMode {
|
|
|
122
378
|
/**
|
|
123
379
|
* @see {@link MatterSpecification.v13.Cluster} § 8.7.5
|
|
124
380
|
*/
|
|
125
|
-
readonly supportedModes: FixedAttribute<import("../
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
381
|
+
readonly supportedModes: FixedAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
382
|
+
/**
|
|
383
|
+
* This field shall indicate readable text that describes the mode option, so that a client can provide it to
|
|
384
|
+
* the user to indicate what this option means. This field is meant to be readable and understandable by the
|
|
385
|
+
* user.
|
|
386
|
+
*
|
|
387
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
|
|
388
|
+
*/
|
|
389
|
+
label: import("../tlv/TlvObject.js").FieldType<string>;
|
|
390
|
+
/**
|
|
391
|
+
* This field is used to identify the mode option.
|
|
392
|
+
*
|
|
393
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
|
|
394
|
+
*/
|
|
395
|
+
mode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
396
|
+
/**
|
|
397
|
+
* This field shall contain a list of tags that are associated with the mode option. This may be used by
|
|
398
|
+
* clients to determine the full or the partial semantics of a certain mode, depending on which tags they
|
|
399
|
+
* understand, using standard definitions and/or manufacturer specific namespace definitions.
|
|
400
|
+
*
|
|
401
|
+
* The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
|
|
402
|
+
* specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
|
|
403
|
+
* mode tag values from that namespace.
|
|
404
|
+
*
|
|
405
|
+
* Mode tags can help clients look for options that meet certain criteria, render the user interface, use
|
|
406
|
+
*
|
|
407
|
+
* the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
|
|
408
|
+
* standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
|
|
409
|
+
*
|
|
410
|
+
* A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
|
|
411
|
+
* and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
|
|
412
|
+
*
|
|
413
|
+
* A few examples are provided below.
|
|
414
|
+
*
|
|
415
|
+
* • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
|
|
416
|
+
* seeking the mode for either High or Max will find the same mode in this case.
|
|
417
|
+
*
|
|
418
|
+
* • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
|
|
419
|
+
* green leaf.
|
|
420
|
+
*
|
|
421
|
+
* • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
|
|
422
|
+
* audible sound, less likely to disturb the household’s activities.
|
|
423
|
+
*
|
|
424
|
+
* • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
|
|
425
|
+
* Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
|
|
426
|
+
*
|
|
427
|
+
* • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
|
|
428
|
+
* RVC Clean cluster that is a derivation of this cluster).
|
|
429
|
+
*
|
|
430
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
|
|
431
|
+
*/
|
|
432
|
+
modeTags: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
433
|
+
/**
|
|
434
|
+
* If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
|
|
435
|
+
* 1.10.8, “Mode Namespace”).
|
|
436
|
+
*
|
|
437
|
+
* This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
|
|
438
|
+
*
|
|
439
|
+
* The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
|
|
440
|
+
* and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
|
|
441
|
+
* whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
|
|
442
|
+
* salt.
|
|
443
|
+
*
|
|
444
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
|
|
445
|
+
*/
|
|
446
|
+
mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
|
|
447
|
+
/**
|
|
448
|
+
* This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
|
|
449
|
+
* standard.
|
|
450
|
+
*
|
|
451
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
|
|
452
|
+
*/
|
|
453
|
+
value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
|
|
131
454
|
}>[]>;
|
|
132
455
|
}>[], any>;
|
|
133
456
|
/**
|
|
@@ -151,8 +474,8 @@ export declare namespace RefrigeratorAndTemperatureControlledCabinetMode {
|
|
|
151
474
|
*
|
|
152
475
|
* @see {@link MatterSpecification.v13.Cluster} § 1.10.7.1
|
|
153
476
|
*/
|
|
154
|
-
readonly changeToMode: Command<import("../
|
|
155
|
-
newMode: import("../
|
|
477
|
+
readonly changeToMode: Command<import("../tlv/TlvObject.js").TypeFromFields<{
|
|
478
|
+
newMode: import("../tlv/TlvObject.js").FieldType<number>;
|
|
156
479
|
}>, void, any>;
|
|
157
480
|
};
|
|
158
481
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refrigerator-and-temperature-controlled-cabinet-mode.d.ts","sourceRoot":"","sources":["../../../src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAiB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"refrigerator-and-temperature-controlled-cabinet-mode.d.ts","sourceRoot":"","sources":["../../../src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAiB,MAAM,uBAAuB,CAAC;AAM7G,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,yBAAiB,+CAA+C,CAAC;IAC7D;;;;OAIG;IACH,KAAY,OAAO;QACf;;;;;;;WAOG;QACH,KAAK,UAAU;KAClB;IAED,KAAY,OAAO;QACf;;;;WAIG;QACH,SAAS,QAAQ;QAEjB;;;;WAIG;QACH,WAAW,QAAQ;QAEnB;;;;WAIG;QACH,IAAI,IAAI;QAER;;;;WAIG;QACH,KAAK,IAAI;QAET;;;;WAIG;QACH,KAAK,IAAI;QAET;;;;WAIG;QACH,QAAQ,IAAI;QAEZ;;;;WAIG;QACH,SAAS,IAAI;QAEb;;;;WAIG;QACH,QAAQ,IAAI;QAEZ;;;;WAIG;QACH,GAAG,IAAI;QAEP;;;;WAIG;QACH,GAAG,IAAI;QAEP;;;;WAIG;QACH,KAAK,IAAI;QAET;;;;WAIG;QACH,GAAG,IAAI;KACV;IAED;;;;OAIG;IACI,MAAM,gBAAgB;QACzB;;;;;;;;;;;;WAYG;;QAGH;;;;;WAKG;;MAEL,CAAC;IAEH;;;;OAIG;IACH,UAAiB,aAAc,SAAQ,cAAc,CAAC,OAAO,gBAAgB,CAAC;KAAG;IAEjF;;;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
|
|
|
7
7
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
8
8
|
import { FixedAttribute, Attribute, WritableAttribute, Command, TlvNoResponse } from "../cluster/Cluster.js";
|
|
9
9
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
10
|
+
import { TlvField, TlvOptionalField, TlvObject } from "../tlv/TlvObject.js";
|
|
11
|
+
import { TlvString } from "../tlv/TlvString.js";
|
|
12
|
+
import { TlvUInt8, TlvEnum } from "../tlv/TlvNumber.js";
|
|
13
|
+
import { TlvVendorId } from "../datatype/VendorId.js";
|
|
10
14
|
import { ModeBase } from "./mode-base.js";
|
|
11
|
-
import { TlvUInt8 } from "../tlv/TlvNumber.js";
|
|
12
15
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
13
16
|
var RefrigeratorAndTemperatureControlledCabinetMode;
|
|
14
17
|
((RefrigeratorAndTemperatureControlledCabinetMode2) => {
|
|
@@ -20,7 +23,93 @@ var RefrigeratorAndTemperatureControlledCabinetMode;
|
|
|
20
23
|
((ModeTag2) => {
|
|
21
24
|
ModeTag2[ModeTag2["RapidCool"] = 16384] = "RapidCool";
|
|
22
25
|
ModeTag2[ModeTag2["RapidFreeze"] = 16385] = "RapidFreeze";
|
|
26
|
+
ModeTag2[ModeTag2["Auto"] = 0] = "Auto";
|
|
27
|
+
ModeTag2[ModeTag2["Quick"] = 1] = "Quick";
|
|
28
|
+
ModeTag2[ModeTag2["Quiet"] = 2] = "Quiet";
|
|
29
|
+
ModeTag2[ModeTag2["LowNoise"] = 3] = "LowNoise";
|
|
30
|
+
ModeTag2[ModeTag2["LowEnergy"] = 4] = "LowEnergy";
|
|
31
|
+
ModeTag2[ModeTag2["Vacation"] = 5] = "Vacation";
|
|
32
|
+
ModeTag2[ModeTag2["Min"] = 6] = "Min";
|
|
33
|
+
ModeTag2[ModeTag2["Max"] = 7] = "Max";
|
|
34
|
+
ModeTag2[ModeTag2["Night"] = 8] = "Night";
|
|
35
|
+
ModeTag2[ModeTag2["Day"] = 9] = "Day";
|
|
23
36
|
})(ModeTag = RefrigeratorAndTemperatureControlledCabinetMode2.ModeTag || (RefrigeratorAndTemperatureControlledCabinetMode2.ModeTag = {}));
|
|
37
|
+
RefrigeratorAndTemperatureControlledCabinetMode2.TlvModeTagStruct = TlvObject({
|
|
38
|
+
/**
|
|
39
|
+
* If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
|
|
40
|
+
* 1.10.8, “Mode Namespace”).
|
|
41
|
+
*
|
|
42
|
+
* This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
|
|
43
|
+
*
|
|
44
|
+
* The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
|
|
45
|
+
* and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
|
|
46
|
+
* whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
|
|
47
|
+
* salt.
|
|
48
|
+
*
|
|
49
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
|
|
50
|
+
*/
|
|
51
|
+
mfgCode: TlvOptionalField(0, TlvVendorId),
|
|
52
|
+
/**
|
|
53
|
+
* This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
|
|
54
|
+
* standard.
|
|
55
|
+
*
|
|
56
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
|
|
57
|
+
*/
|
|
58
|
+
value: TlvField(1, TlvEnum())
|
|
59
|
+
});
|
|
60
|
+
RefrigeratorAndTemperatureControlledCabinetMode2.TlvModeOption = TlvObject({
|
|
61
|
+
/**
|
|
62
|
+
* This field shall indicate readable text that describes the mode option, so that a client can provide it to
|
|
63
|
+
* the user to indicate what this option means. This field is meant to be readable and understandable by the
|
|
64
|
+
* user.
|
|
65
|
+
*
|
|
66
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
|
|
67
|
+
*/
|
|
68
|
+
label: TlvField(0, TlvString.bound({ maxLength: 64 })),
|
|
69
|
+
/**
|
|
70
|
+
* This field is used to identify the mode option.
|
|
71
|
+
*
|
|
72
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
|
|
73
|
+
*/
|
|
74
|
+
mode: TlvField(1, TlvUInt8),
|
|
75
|
+
/**
|
|
76
|
+
* This field shall contain a list of tags that are associated with the mode option. This may be used by
|
|
77
|
+
* clients to determine the full or the partial semantics of a certain mode, depending on which tags they
|
|
78
|
+
* understand, using standard definitions and/or manufacturer specific namespace definitions.
|
|
79
|
+
*
|
|
80
|
+
* The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
|
|
81
|
+
* specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
|
|
82
|
+
* mode tag values from that namespace.
|
|
83
|
+
*
|
|
84
|
+
* Mode tags can help clients look for options that meet certain criteria, render the user interface, use
|
|
85
|
+
*
|
|
86
|
+
* the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
|
|
87
|
+
* standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
|
|
88
|
+
*
|
|
89
|
+
* A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
|
|
90
|
+
* and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
|
|
91
|
+
*
|
|
92
|
+
* A few examples are provided below.
|
|
93
|
+
*
|
|
94
|
+
* • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
|
|
95
|
+
* seeking the mode for either High or Max will find the same mode in this case.
|
|
96
|
+
*
|
|
97
|
+
* • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
|
|
98
|
+
* green leaf.
|
|
99
|
+
*
|
|
100
|
+
* • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
|
|
101
|
+
* audible sound, less likely to disturb the household’s activities.
|
|
102
|
+
*
|
|
103
|
+
* • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
|
|
104
|
+
* Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
|
|
105
|
+
*
|
|
106
|
+
* • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
|
|
107
|
+
* RVC Clean cluster that is a derivation of this cluster).
|
|
108
|
+
*
|
|
109
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
|
|
110
|
+
*/
|
|
111
|
+
modeTags: TlvField(2, TlvArray(RefrigeratorAndTemperatureControlledCabinetMode2.TlvModeTagStruct, { maxLength: 8 }))
|
|
112
|
+
});
|
|
24
113
|
RefrigeratorAndTemperatureControlledCabinetMode2.Base = MutableCluster.Component({
|
|
25
114
|
id: 82,
|
|
26
115
|
name: "RefrigeratorAndTemperatureControlledCabinetMode",
|
|
@@ -42,7 +131,7 @@ var RefrigeratorAndTemperatureControlledCabinetMode;
|
|
|
42
131
|
*/
|
|
43
132
|
supportedModes: FixedAttribute(
|
|
44
133
|
0,
|
|
45
|
-
TlvArray(
|
|
134
|
+
TlvArray(RefrigeratorAndTemperatureControlledCabinetMode2.TlvModeOption, { minLength: 2, maxLength: 255 }),
|
|
46
135
|
{ default: [] }
|
|
47
136
|
),
|
|
48
137
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts"],
|
|
4
|
-
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,SAAS,sBAAsB;AAC/B,SAAS,eAAe;AACxB,SAAS,gBAAgB,WAAW,mBAAmB,SAAS,qBAAqB;AACrF,SAAS,gBAAgB;AACzB,SAAS,
|
|
4
|
+
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,SAAS,sBAAsB;AAC/B,SAAS,eAAe;AACxB,SAAS,gBAAgB,WAAW,mBAAmB,SAAS,qBAAqB;AACrF,SAAS,gBAAgB;AACzB,SAAS,UAAU,kBAAkB,iBAAiB;AACtD,SAAS,iBAAiB;AAC1B,SAAS,UAAU,eA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