@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
|
@@ -10,8 +10,12 @@ import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
|
10
10
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
11
11
|
import { FixedAttribute, Attribute, WritableAttribute, Command, TlvNoResponse } from "../cluster/Cluster.js";
|
|
12
12
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
13
|
+
import { TlvField, TlvOptionalField, TlvObject } from "../tlv/TlvObject.js";
|
|
14
|
+
import { TlvString } from "../tlv/TlvString.js";
|
|
15
|
+
import { TlvUInt8, TlvEnum } from "../tlv/TlvNumber.js";
|
|
16
|
+
import { TlvVendorId } from "../datatype/VendorId.js";
|
|
17
|
+
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
13
18
|
import { ModeBase } from "./mode-base.js";
|
|
14
|
-
import { TlvUInt8 } from "../tlv/TlvNumber.js";
|
|
15
19
|
import { Identity } from "#general";
|
|
16
20
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
17
21
|
|
|
@@ -53,9 +57,190 @@ export namespace DishwasherMode {
|
|
|
53
57
|
*
|
|
54
58
|
* @see {@link MatterSpecification.v13.Cluster} § 8.3.6.1.3
|
|
55
59
|
*/
|
|
56
|
-
Light = 16386
|
|
60
|
+
Light = 16386,
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* The device decides which options, features and setting values to use.
|
|
64
|
+
*
|
|
65
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
66
|
+
*/
|
|
67
|
+
Auto = 0,
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The mode of the device is optimizing for faster completion.
|
|
71
|
+
*
|
|
72
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
73
|
+
*/
|
|
74
|
+
Quick = 1,
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The device is silent or barely audible while in this mode.
|
|
78
|
+
*
|
|
79
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
80
|
+
*/
|
|
81
|
+
Quiet = 2,
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Either the mode is inherently low noise or the device optimizes for that.
|
|
85
|
+
*
|
|
86
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
87
|
+
*/
|
|
88
|
+
LowNoise = 3,
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* The device is optimizing for lower energy usage in this mode. Sometimes called "Eco mode".
|
|
92
|
+
*
|
|
93
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
94
|
+
*/
|
|
95
|
+
LowEnergy = 4,
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* A mode suitable for use during vacations or other extended absences.
|
|
99
|
+
*
|
|
100
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
101
|
+
*/
|
|
102
|
+
Vacation = 5,
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The mode uses the lowest available setting value.
|
|
106
|
+
*
|
|
107
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
108
|
+
*/
|
|
109
|
+
Min = 6,
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* The mode uses the highest available setting value.
|
|
113
|
+
*
|
|
114
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
115
|
+
*/
|
|
116
|
+
Max = 7,
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* The mode is recommended or suitable for use during night time.
|
|
120
|
+
*
|
|
121
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
122
|
+
*/
|
|
123
|
+
Night = 8,
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* The mode is recommended or suitable for use during day time.
|
|
127
|
+
*
|
|
128
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
129
|
+
*/
|
|
130
|
+
Day = 9
|
|
57
131
|
}
|
|
58
132
|
|
|
133
|
+
/**
|
|
134
|
+
* A Mode Tag is meant to be interpreted by the client for the purpose the cluster serves.
|
|
135
|
+
*
|
|
136
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1
|
|
137
|
+
*/
|
|
138
|
+
export const TlvModeTagStruct = TlvObject({
|
|
139
|
+
/**
|
|
140
|
+
* If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
|
|
141
|
+
* 1.10.8, “Mode Namespace”).
|
|
142
|
+
*
|
|
143
|
+
* This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
|
|
144
|
+
*
|
|
145
|
+
* The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
|
|
146
|
+
* and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
|
|
147
|
+
* whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
|
|
148
|
+
* salt.
|
|
149
|
+
*
|
|
150
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
|
|
151
|
+
*/
|
|
152
|
+
mfgCode: TlvOptionalField(0, TlvVendorId),
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
|
|
156
|
+
* standard.
|
|
157
|
+
*
|
|
158
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
|
|
159
|
+
*/
|
|
160
|
+
value: TlvField(1, TlvEnum<ModeTag>())
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* A Mode Tag is meant to be interpreted by the client for the purpose the cluster serves.
|
|
165
|
+
*
|
|
166
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1
|
|
167
|
+
*/
|
|
168
|
+
export interface ModeTagStruct extends TypeFromSchema<typeof TlvModeTagStruct> {}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* The table below lists the changes relative to the Mode Base cluster for the fields of the ModeOptionStruct type.
|
|
172
|
+
* A blank field indicates no change.
|
|
173
|
+
*
|
|
174
|
+
* At least one entry in the SupportedModes attribute shall include the Normal mode tag in the ModeTags field list.
|
|
175
|
+
*
|
|
176
|
+
* @see {@link MatterSpecification.v13.Cluster} § 8.3.4.1
|
|
177
|
+
*/
|
|
178
|
+
export const TlvModeOption = TlvObject({
|
|
179
|
+
/**
|
|
180
|
+
* This field shall indicate readable text that describes the mode option, so that a client can provide it to
|
|
181
|
+
* the user to indicate what this option means. This field is meant to be readable and understandable by the
|
|
182
|
+
* user.
|
|
183
|
+
*
|
|
184
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
|
|
185
|
+
*/
|
|
186
|
+
label: TlvField(0, TlvString.bound({ maxLength: 64 })),
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* This field is used to identify the mode option.
|
|
190
|
+
*
|
|
191
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
|
|
192
|
+
*/
|
|
193
|
+
mode: TlvField(1, TlvUInt8),
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* This field shall contain a list of tags that are associated with the mode option. This may be used by
|
|
197
|
+
* clients to determine the full or the partial semantics of a certain mode, depending on which tags they
|
|
198
|
+
* understand, using standard definitions and/or manufacturer specific namespace definitions.
|
|
199
|
+
*
|
|
200
|
+
* The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
|
|
201
|
+
* specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
|
|
202
|
+
* mode tag values from that namespace.
|
|
203
|
+
*
|
|
204
|
+
* Mode tags can help clients look for options that meet certain criteria, render the user interface, use
|
|
205
|
+
*
|
|
206
|
+
* the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
|
|
207
|
+
* standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
|
|
208
|
+
*
|
|
209
|
+
* A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
|
|
210
|
+
* and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
|
|
211
|
+
*
|
|
212
|
+
* A few examples are provided below.
|
|
213
|
+
*
|
|
214
|
+
* • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
|
|
215
|
+
* seeking the mode for either High or Max will find the same mode in this case.
|
|
216
|
+
*
|
|
217
|
+
* • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
|
|
218
|
+
* green leaf.
|
|
219
|
+
*
|
|
220
|
+
* • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
|
|
221
|
+
* audible sound, less likely to disturb the household’s activities.
|
|
222
|
+
*
|
|
223
|
+
* • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
|
|
224
|
+
* Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
|
|
225
|
+
*
|
|
226
|
+
* • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
|
|
227
|
+
* RVC Clean cluster that is a derivation of this cluster).
|
|
228
|
+
*
|
|
229
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
|
|
230
|
+
*/
|
|
231
|
+
modeTags: TlvField(2, TlvArray(TlvModeTagStruct, { maxLength: 8 }))
|
|
232
|
+
});
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* The table below lists the changes relative to the Mode Base cluster for the fields of the ModeOptionStruct type.
|
|
236
|
+
* A blank field indicates no change.
|
|
237
|
+
*
|
|
238
|
+
* At least one entry in the SupportedModes attribute shall include the Normal mode tag in the ModeTags field list.
|
|
239
|
+
*
|
|
240
|
+
* @see {@link MatterSpecification.v13.Cluster} § 8.3.4.1
|
|
241
|
+
*/
|
|
242
|
+
export interface ModeOption extends TypeFromSchema<typeof TlvModeOption> {}
|
|
243
|
+
|
|
59
244
|
/**
|
|
60
245
|
* These elements and properties are present in all DishwasherMode clusters.
|
|
61
246
|
*/
|
|
@@ -82,7 +267,7 @@ export namespace DishwasherMode {
|
|
|
82
267
|
*/
|
|
83
268
|
supportedModes: FixedAttribute(
|
|
84
269
|
0x0,
|
|
85
|
-
TlvArray(
|
|
270
|
+
TlvArray(TlvModeOption, { minLength: 2, maxLength: 255 }),
|
|
86
271
|
{ default: [] }
|
|
87
272
|
),
|
|
88
273
|
|
|
@@ -2124,7 +2124,87 @@ export namespace DoorLock {
|
|
|
2124
2124
|
pinCodeChanged: BitFlag(1),
|
|
2125
2125
|
pinAdded: BitFlag(2),
|
|
2126
2126
|
pinCleared: BitFlag(3),
|
|
2127
|
-
pinChanged: BitFlag(4)
|
|
2127
|
+
pinChanged: BitFlag(4),
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* State of bit 0
|
|
2131
|
+
*/
|
|
2132
|
+
bit0: BitFlag(0),
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* State of bit 1
|
|
2136
|
+
*/
|
|
2137
|
+
bit1: BitFlag(1),
|
|
2138
|
+
|
|
2139
|
+
/**
|
|
2140
|
+
* State of bit 2
|
|
2141
|
+
*/
|
|
2142
|
+
bit2: BitFlag(2),
|
|
2143
|
+
|
|
2144
|
+
/**
|
|
2145
|
+
* State of bit 3
|
|
2146
|
+
*/
|
|
2147
|
+
bit3: BitFlag(3),
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* State of bit 4
|
|
2151
|
+
*/
|
|
2152
|
+
bit4: BitFlag(4),
|
|
2153
|
+
|
|
2154
|
+
/**
|
|
2155
|
+
* State of bit 5
|
|
2156
|
+
*/
|
|
2157
|
+
bit5: BitFlag(5),
|
|
2158
|
+
|
|
2159
|
+
/**
|
|
2160
|
+
* State of bit 6
|
|
2161
|
+
*/
|
|
2162
|
+
bit6: BitFlag(6),
|
|
2163
|
+
|
|
2164
|
+
/**
|
|
2165
|
+
* State of bit 7
|
|
2166
|
+
*/
|
|
2167
|
+
bit7: BitFlag(7),
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* State of bit 8
|
|
2171
|
+
*/
|
|
2172
|
+
bit8: BitFlag(8),
|
|
2173
|
+
|
|
2174
|
+
/**
|
|
2175
|
+
* State of bit 9
|
|
2176
|
+
*/
|
|
2177
|
+
bit9: BitFlag(9),
|
|
2178
|
+
|
|
2179
|
+
/**
|
|
2180
|
+
* State of bit 10
|
|
2181
|
+
*/
|
|
2182
|
+
bit10: BitFlag(10),
|
|
2183
|
+
|
|
2184
|
+
/**
|
|
2185
|
+
* State of bit 11
|
|
2186
|
+
*/
|
|
2187
|
+
bit11: BitFlag(11),
|
|
2188
|
+
|
|
2189
|
+
/**
|
|
2190
|
+
* State of bit 12
|
|
2191
|
+
*/
|
|
2192
|
+
bit12: BitFlag(12),
|
|
2193
|
+
|
|
2194
|
+
/**
|
|
2195
|
+
* State of bit 13
|
|
2196
|
+
*/
|
|
2197
|
+
bit13: BitFlag(13),
|
|
2198
|
+
|
|
2199
|
+
/**
|
|
2200
|
+
* State of bit 14
|
|
2201
|
+
*/
|
|
2202
|
+
bit14: BitFlag(14),
|
|
2203
|
+
|
|
2204
|
+
/**
|
|
2205
|
+
* State of bit 15
|
|
2206
|
+
*/
|
|
2207
|
+
bit15: BitFlag(15)
|
|
2128
2208
|
};
|
|
2129
2209
|
|
|
2130
2210
|
/**
|
|
@@ -2138,7 +2218,87 @@ export namespace DoorLock {
|
|
|
2138
2218
|
pinCleared: BitFlag(3),
|
|
2139
2219
|
pinChanged: BitFlag(4),
|
|
2140
2220
|
rfidCodeAdded: BitFlag(5),
|
|
2141
|
-
rfidCodeCleared: BitFlag(6)
|
|
2221
|
+
rfidCodeCleared: BitFlag(6),
|
|
2222
|
+
|
|
2223
|
+
/**
|
|
2224
|
+
* State of bit 0
|
|
2225
|
+
*/
|
|
2226
|
+
bit0: BitFlag(0),
|
|
2227
|
+
|
|
2228
|
+
/**
|
|
2229
|
+
* State of bit 1
|
|
2230
|
+
*/
|
|
2231
|
+
bit1: BitFlag(1),
|
|
2232
|
+
|
|
2233
|
+
/**
|
|
2234
|
+
* State of bit 2
|
|
2235
|
+
*/
|
|
2236
|
+
bit2: BitFlag(2),
|
|
2237
|
+
|
|
2238
|
+
/**
|
|
2239
|
+
* State of bit 3
|
|
2240
|
+
*/
|
|
2241
|
+
bit3: BitFlag(3),
|
|
2242
|
+
|
|
2243
|
+
/**
|
|
2244
|
+
* State of bit 4
|
|
2245
|
+
*/
|
|
2246
|
+
bit4: BitFlag(4),
|
|
2247
|
+
|
|
2248
|
+
/**
|
|
2249
|
+
* State of bit 5
|
|
2250
|
+
*/
|
|
2251
|
+
bit5: BitFlag(5),
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* State of bit 6
|
|
2255
|
+
*/
|
|
2256
|
+
bit6: BitFlag(6),
|
|
2257
|
+
|
|
2258
|
+
/**
|
|
2259
|
+
* State of bit 7
|
|
2260
|
+
*/
|
|
2261
|
+
bit7: BitFlag(7),
|
|
2262
|
+
|
|
2263
|
+
/**
|
|
2264
|
+
* State of bit 8
|
|
2265
|
+
*/
|
|
2266
|
+
bit8: BitFlag(8),
|
|
2267
|
+
|
|
2268
|
+
/**
|
|
2269
|
+
* State of bit 9
|
|
2270
|
+
*/
|
|
2271
|
+
bit9: BitFlag(9),
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* State of bit 10
|
|
2275
|
+
*/
|
|
2276
|
+
bit10: BitFlag(10),
|
|
2277
|
+
|
|
2278
|
+
/**
|
|
2279
|
+
* State of bit 11
|
|
2280
|
+
*/
|
|
2281
|
+
bit11: BitFlag(11),
|
|
2282
|
+
|
|
2283
|
+
/**
|
|
2284
|
+
* State of bit 12
|
|
2285
|
+
*/
|
|
2286
|
+
bit12: BitFlag(12),
|
|
2287
|
+
|
|
2288
|
+
/**
|
|
2289
|
+
* State of bit 13
|
|
2290
|
+
*/
|
|
2291
|
+
bit13: BitFlag(13),
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* State of bit 14
|
|
2295
|
+
*/
|
|
2296
|
+
bit14: BitFlag(14),
|
|
2297
|
+
|
|
2298
|
+
/**
|
|
2299
|
+
* State of bit 15
|
|
2300
|
+
*/
|
|
2301
|
+
bit15: BitFlag(15)
|
|
2142
2302
|
};
|
|
2143
2303
|
|
|
2144
2304
|
/**
|
|
@@ -2146,7 +2306,91 @@ export namespace DoorLock {
|
|
|
2146
2306
|
*
|
|
2147
2307
|
* @see {@link MatterSpecification.v13.Cluster} § 5.2.9.47
|
|
2148
2308
|
*/
|
|
2149
|
-
export const RfidProgrammingEventMask = {
|
|
2309
|
+
export const RfidProgrammingEventMask = {
|
|
2310
|
+
unknown: BitFlag(0),
|
|
2311
|
+
idAdded: BitFlag(5),
|
|
2312
|
+
idCleared: BitFlag(6),
|
|
2313
|
+
|
|
2314
|
+
/**
|
|
2315
|
+
* State of bit 0
|
|
2316
|
+
*/
|
|
2317
|
+
bit0: BitFlag(0),
|
|
2318
|
+
|
|
2319
|
+
/**
|
|
2320
|
+
* State of bit 1
|
|
2321
|
+
*/
|
|
2322
|
+
bit1: BitFlag(1),
|
|
2323
|
+
|
|
2324
|
+
/**
|
|
2325
|
+
* State of bit 2
|
|
2326
|
+
*/
|
|
2327
|
+
bit2: BitFlag(2),
|
|
2328
|
+
|
|
2329
|
+
/**
|
|
2330
|
+
* State of bit 3
|
|
2331
|
+
*/
|
|
2332
|
+
bit3: BitFlag(3),
|
|
2333
|
+
|
|
2334
|
+
/**
|
|
2335
|
+
* State of bit 4
|
|
2336
|
+
*/
|
|
2337
|
+
bit4: BitFlag(4),
|
|
2338
|
+
|
|
2339
|
+
/**
|
|
2340
|
+
* State of bit 5
|
|
2341
|
+
*/
|
|
2342
|
+
bit5: BitFlag(5),
|
|
2343
|
+
|
|
2344
|
+
/**
|
|
2345
|
+
* State of bit 6
|
|
2346
|
+
*/
|
|
2347
|
+
bit6: BitFlag(6),
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* State of bit 7
|
|
2351
|
+
*/
|
|
2352
|
+
bit7: BitFlag(7),
|
|
2353
|
+
|
|
2354
|
+
/**
|
|
2355
|
+
* State of bit 8
|
|
2356
|
+
*/
|
|
2357
|
+
bit8: BitFlag(8),
|
|
2358
|
+
|
|
2359
|
+
/**
|
|
2360
|
+
* State of bit 9
|
|
2361
|
+
*/
|
|
2362
|
+
bit9: BitFlag(9),
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* State of bit 10
|
|
2366
|
+
*/
|
|
2367
|
+
bit10: BitFlag(10),
|
|
2368
|
+
|
|
2369
|
+
/**
|
|
2370
|
+
* State of bit 11
|
|
2371
|
+
*/
|
|
2372
|
+
bit11: BitFlag(11),
|
|
2373
|
+
|
|
2374
|
+
/**
|
|
2375
|
+
* State of bit 12
|
|
2376
|
+
*/
|
|
2377
|
+
bit12: BitFlag(12),
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* State of bit 13
|
|
2381
|
+
*/
|
|
2382
|
+
bit13: BitFlag(13),
|
|
2383
|
+
|
|
2384
|
+
/**
|
|
2385
|
+
* State of bit 14
|
|
2386
|
+
*/
|
|
2387
|
+
bit14: BitFlag(14),
|
|
2388
|
+
|
|
2389
|
+
/**
|
|
2390
|
+
* State of bit 15
|
|
2391
|
+
*/
|
|
2392
|
+
bit15: BitFlag(15)
|
|
2393
|
+
};
|
|
2150
2394
|
|
|
2151
2395
|
/**
|
|
2152
2396
|
* Input to the DoorLock setUserStatus command
|
|
@@ -15,10 +15,14 @@ import {
|
|
|
15
15
|
Command,
|
|
16
16
|
TlvNoResponse
|
|
17
17
|
} from "../cluster/Cluster.js";
|
|
18
|
-
import { TlvUInt8 } from "../tlv/TlvNumber.js";
|
|
18
|
+
import { TlvUInt8, TlvEnum } from "../tlv/TlvNumber.js";
|
|
19
19
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
20
20
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
21
21
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
22
|
+
import { TlvField, TlvOptionalField, TlvObject } from "../tlv/TlvObject.js";
|
|
23
|
+
import { TlvString } from "../tlv/TlvString.js";
|
|
24
|
+
import { TlvVendorId } from "../datatype/VendorId.js";
|
|
25
|
+
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
22
26
|
import { ModeBase } from "./mode-base.js";
|
|
23
27
|
import { Identity } from "#general";
|
|
24
28
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
@@ -64,9 +68,184 @@ export namespace EnergyEvseMode {
|
|
|
64
68
|
*
|
|
65
69
|
* @see {@link MatterSpecification.v13.Cluster} § 9.4.4.1.3
|
|
66
70
|
*/
|
|
67
|
-
SolarCharging = 16386
|
|
71
|
+
SolarCharging = 16386,
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* The device decides which options, features and setting values to use.
|
|
75
|
+
*
|
|
76
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
77
|
+
*/
|
|
78
|
+
Auto = 0,
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* The mode of the device is optimizing for faster completion.
|
|
82
|
+
*
|
|
83
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
84
|
+
*/
|
|
85
|
+
Quick = 1,
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The device is silent or barely audible while in this mode.
|
|
89
|
+
*
|
|
90
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
91
|
+
*/
|
|
92
|
+
Quiet = 2,
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Either the mode is inherently low noise or the device optimizes for that.
|
|
96
|
+
*
|
|
97
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
98
|
+
*/
|
|
99
|
+
LowNoise = 3,
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* The device is optimizing for lower energy usage in this mode. Sometimes called "Eco mode".
|
|
103
|
+
*
|
|
104
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
105
|
+
*/
|
|
106
|
+
LowEnergy = 4,
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* A mode suitable for use during vacations or other extended absences.
|
|
110
|
+
*
|
|
111
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
112
|
+
*/
|
|
113
|
+
Vacation = 5,
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* The mode uses the lowest available setting value.
|
|
117
|
+
*
|
|
118
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
119
|
+
*/
|
|
120
|
+
Min = 6,
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* The mode uses the highest available setting value.
|
|
124
|
+
*
|
|
125
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
126
|
+
*/
|
|
127
|
+
Max = 7,
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* The mode is recommended or suitable for use during night time.
|
|
131
|
+
*
|
|
132
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
133
|
+
*/
|
|
134
|
+
Night = 8,
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The mode is recommended or suitable for use during day time.
|
|
138
|
+
*
|
|
139
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.8
|
|
140
|
+
*/
|
|
141
|
+
Day = 9
|
|
68
142
|
}
|
|
69
143
|
|
|
144
|
+
/**
|
|
145
|
+
* A Mode Tag is meant to be interpreted by the client for the purpose the cluster serves.
|
|
146
|
+
*
|
|
147
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1
|
|
148
|
+
*/
|
|
149
|
+
export const TlvModeTagStruct = TlvObject({
|
|
150
|
+
/**
|
|
151
|
+
* If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
|
|
152
|
+
* 1.10.8, “Mode Namespace”).
|
|
153
|
+
*
|
|
154
|
+
* This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
|
|
155
|
+
*
|
|
156
|
+
* The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
|
|
157
|
+
* and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
|
|
158
|
+
* whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
|
|
159
|
+
* salt.
|
|
160
|
+
*
|
|
161
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
|
|
162
|
+
*/
|
|
163
|
+
mfgCode: TlvOptionalField(0, TlvVendorId),
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
|
|
167
|
+
* standard.
|
|
168
|
+
*
|
|
169
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
|
|
170
|
+
*/
|
|
171
|
+
value: TlvField(1, TlvEnum<ModeTag>())
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* A Mode Tag is meant to be interpreted by the client for the purpose the cluster serves.
|
|
176
|
+
*
|
|
177
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1
|
|
178
|
+
*/
|
|
179
|
+
export interface ModeTagStruct extends TypeFromSchema<typeof TlvModeTagStruct> {}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* This is a struct representing a possible mode of the server.
|
|
183
|
+
*
|
|
184
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2
|
|
185
|
+
*/
|
|
186
|
+
export const TlvModeOption = TlvObject({
|
|
187
|
+
/**
|
|
188
|
+
* This field shall indicate readable text that describes the mode option, so that a client can provide it to
|
|
189
|
+
* the user to indicate what this option means. This field is meant to be readable and understandable by the
|
|
190
|
+
* user.
|
|
191
|
+
*
|
|
192
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
|
|
193
|
+
*/
|
|
194
|
+
label: TlvField(0, TlvString.bound({ maxLength: 64 })),
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* This field is used to identify the mode option.
|
|
198
|
+
*
|
|
199
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
|
|
200
|
+
*/
|
|
201
|
+
mode: TlvField(1, TlvUInt8),
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* This field shall contain a list of tags that are associated with the mode option. This may be used by
|
|
205
|
+
* clients to determine the full or the partial semantics of a certain mode, depending on which tags they
|
|
206
|
+
* understand, using standard definitions and/or manufacturer specific namespace definitions.
|
|
207
|
+
*
|
|
208
|
+
* The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
|
|
209
|
+
* specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
|
|
210
|
+
* mode tag values from that namespace.
|
|
211
|
+
*
|
|
212
|
+
* Mode tags can help clients look for options that meet certain criteria, render the user interface, use
|
|
213
|
+
*
|
|
214
|
+
* the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
|
|
215
|
+
* standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
|
|
216
|
+
*
|
|
217
|
+
* A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
|
|
218
|
+
* and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
|
|
219
|
+
*
|
|
220
|
+
* A few examples are provided below.
|
|
221
|
+
*
|
|
222
|
+
* • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
|
|
223
|
+
* seeking the mode for either High or Max will find the same mode in this case.
|
|
224
|
+
*
|
|
225
|
+
* • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
|
|
226
|
+
* green leaf.
|
|
227
|
+
*
|
|
228
|
+
* • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
|
|
229
|
+
* audible sound, less likely to disturb the household’s activities.
|
|
230
|
+
*
|
|
231
|
+
* • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
|
|
232
|
+
* Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
|
|
233
|
+
*
|
|
234
|
+
* • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
|
|
235
|
+
* RVC Clean cluster that is a derivation of this cluster).
|
|
236
|
+
*
|
|
237
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
|
|
238
|
+
*/
|
|
239
|
+
modeTags: TlvField(2, TlvArray(TlvModeTagStruct, { maxLength: 8 }))
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* This is a struct representing a possible mode of the server.
|
|
244
|
+
*
|
|
245
|
+
* @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2
|
|
246
|
+
*/
|
|
247
|
+
export interface ModeOption extends TypeFromSchema<typeof TlvModeOption> {}
|
|
248
|
+
|
|
70
249
|
/**
|
|
71
250
|
* A EnergyEvseModeCluster supports these elements if it supports feature OnOff.
|
|
72
251
|
*/
|
|
@@ -116,7 +295,7 @@ export namespace EnergyEvseMode {
|
|
|
116
295
|
*
|
|
117
296
|
* @see {@link MatterSpecification.v13.Cluster} § 1.10.6.2
|
|
118
297
|
*/
|
|
119
|
-
supportedModes: FixedAttribute(0x0, TlvArray(
|
|
298
|
+
supportedModes: FixedAttribute(0x0, TlvArray(TlvModeOption, { minLength: 2, maxLength: 255 })),
|
|
120
299
|
|
|
121
300
|
/**
|
|
122
301
|
* Indicates the current mode of the server.
|
|
@@ -213,6 +213,9 @@ export namespace FanControl {
|
|
|
213
213
|
*/
|
|
214
214
|
High = 3,
|
|
215
215
|
|
|
216
|
+
/**
|
|
217
|
+
* @deprecated
|
|
218
|
+
*/
|
|
216
219
|
On = 4,
|
|
217
220
|
|
|
218
221
|
/**
|
|
@@ -222,6 +225,8 @@ export namespace FanControl {
|
|
|
222
225
|
|
|
223
226
|
/**
|
|
224
227
|
* Fan is using smart mode
|
|
228
|
+
*
|
|
229
|
+
* @deprecated
|
|
225
230
|
*/
|
|
226
231
|
Smart = 6
|
|
227
232
|
}
|