@matter/types 0.11.9-alpha.0-20241205-ccf69a00a → 0.11.9-alpha.0-20241206-22f233334

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.
Files changed (180) hide show
  1. package/dist/cjs/clusters/bridged-device-basic-information.d.ts +58 -7
  2. package/dist/cjs/clusters/bridged-device-basic-information.d.ts.map +1 -1
  3. package/dist/cjs/clusters/bridged-device-basic-information.js +19 -2
  4. package/dist/cjs/clusters/bridged-device-basic-information.js.map +1 -1
  5. package/dist/cjs/clusters/content-launcher.d.ts +10 -10
  6. package/dist/cjs/clusters/content-launcher.d.ts.map +1 -1
  7. package/dist/cjs/clusters/content-launcher.js +22 -22
  8. package/dist/cjs/clusters/content-launcher.js.map +2 -2
  9. package/dist/cjs/clusters/device-energy-management-mode.d.ts +411 -25
  10. package/dist/cjs/clusters/device-energy-management-mode.d.ts.map +1 -1
  11. package/dist/cjs/clusters/device-energy-management-mode.js +90 -1
  12. package/dist/cjs/clusters/device-energy-management-mode.js.map +1 -1
  13. package/dist/cjs/clusters/dishwasher-alarm.d.ts +1253 -42
  14. package/dist/cjs/clusters/dishwasher-alarm.d.ts.map +1 -1
  15. package/dist/cjs/clusters/dishwasher-alarm.js +72 -9
  16. package/dist/cjs/clusters/dishwasher-alarm.js.map +1 -1
  17. package/dist/cjs/clusters/dishwasher-mode.d.ts +340 -17
  18. package/dist/cjs/clusters/dishwasher-mode.d.ts.map +1 -1
  19. package/dist/cjs/clusters/dishwasher-mode.js +91 -2
  20. package/dist/cjs/clusters/dishwasher-mode.js.map +1 -1
  21. package/dist/cjs/clusters/door-lock.d.ts +1287 -135
  22. package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
  23. package/dist/cjs/clusters/door-lock.js +199 -3
  24. package/dist/cjs/clusters/door-lock.js.map +1 -1
  25. package/dist/cjs/clusters/energy-evse-mode.d.ts +409 -25
  26. package/dist/cjs/clusters/energy-evse-mode.d.ts.map +1 -1
  27. package/dist/cjs/clusters/energy-evse-mode.js +90 -1
  28. package/dist/cjs/clusters/energy-evse-mode.js.map +1 -1
  29. package/dist/cjs/clusters/fan-control.d.ts +5 -0
  30. package/dist/cjs/clusters/fan-control.d.ts.map +1 -1
  31. package/dist/cjs/clusters/fan-control.js.map +1 -1
  32. package/dist/cjs/clusters/groups.d.ts +12 -0
  33. package/dist/cjs/clusters/groups.d.ts.map +1 -1
  34. package/dist/cjs/clusters/groups.js +7 -1
  35. package/dist/cjs/clusters/groups.js.map +1 -1
  36. package/dist/cjs/clusters/laundry-washer-mode.d.ts +340 -17
  37. package/dist/cjs/clusters/laundry-washer-mode.d.ts.map +1 -1
  38. package/dist/cjs/clusters/laundry-washer-mode.js +91 -2
  39. package/dist/cjs/clusters/laundry-washer-mode.js.map +1 -1
  40. package/dist/cjs/clusters/microwave-oven-mode.d.ts +330 -13
  41. package/dist/cjs/clusters/microwave-oven-mode.d.ts.map +1 -1
  42. package/dist/cjs/clusters/microwave-oven-mode.js +90 -2
  43. package/dist/cjs/clusters/microwave-oven-mode.js.map +1 -1
  44. package/dist/cjs/clusters/mode-base.d.ts +68 -68
  45. package/dist/cjs/clusters/mode-base.d.ts.map +1 -1
  46. package/dist/cjs/clusters/mode-base.js +16 -16
  47. package/dist/cjs/clusters/mode-base.js.map +2 -2
  48. package/dist/cjs/clusters/oven-mode.d.ts +409 -25
  49. package/dist/cjs/clusters/oven-mode.d.ts.map +1 -1
  50. package/dist/cjs/clusters/oven-mode.js +90 -1
  51. package/dist/cjs/clusters/oven-mode.js.map +1 -1
  52. package/dist/cjs/clusters/pump-configuration-and-control.d.ts +15 -0
  53. package/dist/cjs/clusters/pump-configuration-and-control.d.ts.map +1 -1
  54. package/dist/cjs/clusters/pump-configuration-and-control.js +6 -1
  55. package/dist/cjs/clusters/pump-configuration-and-control.js.map +1 -1
  56. package/dist/cjs/clusters/refrigerator-alarm.d.ts +364 -36
  57. package/dist/cjs/clusters/refrigerator-alarm.d.ts.map +1 -1
  58. package/dist/cjs/clusters/refrigerator-alarm.js +46 -8
  59. package/dist/cjs/clusters/refrigerator-alarm.js.map +1 -1
  60. package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +340 -17
  61. package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
  62. package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +91 -2
  63. package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
  64. package/dist/cjs/clusters/rvc-clean-mode.d.ts +374 -23
  65. package/dist/cjs/clusters/rvc-clean-mode.d.ts.map +1 -1
  66. package/dist/cjs/clusters/rvc-clean-mode.js +99 -6
  67. package/dist/cjs/clusters/rvc-clean-mode.js.map +2 -2
  68. package/dist/cjs/clusters/rvc-operational-state.d.ts +248 -22
  69. package/dist/cjs/clusters/rvc-operational-state.d.ts.map +1 -1
  70. package/dist/cjs/clusters/rvc-operational-state.js +59 -10
  71. package/dist/cjs/clusters/rvc-operational-state.js.map +1 -1
  72. package/dist/cjs/clusters/rvc-run-mode.d.ts +401 -40
  73. package/dist/cjs/clusters/rvc-run-mode.d.ts.map +1 -1
  74. package/dist/cjs/clusters/rvc-run-mode.js +101 -8
  75. package/dist/cjs/clusters/rvc-run-mode.js.map +2 -2
  76. package/dist/cjs/clusters/thermostat.d.ts +262 -61
  77. package/dist/cjs/clusters/thermostat.d.ts.map +1 -1
  78. package/dist/cjs/clusters/thermostat.js +72 -58
  79. package/dist/cjs/clusters/thermostat.js.map +1 -1
  80. package/dist/esm/clusters/bridged-device-basic-information.d.ts +58 -7
  81. package/dist/esm/clusters/bridged-device-basic-information.d.ts.map +1 -1
  82. package/dist/esm/clusters/bridged-device-basic-information.js +19 -2
  83. package/dist/esm/clusters/bridged-device-basic-information.js.map +1 -1
  84. package/dist/esm/clusters/content-launcher.d.ts +10 -10
  85. package/dist/esm/clusters/content-launcher.d.ts.map +1 -1
  86. package/dist/esm/clusters/content-launcher.js +22 -22
  87. package/dist/esm/clusters/content-launcher.js.map +2 -2
  88. package/dist/esm/clusters/device-energy-management-mode.d.ts +411 -25
  89. package/dist/esm/clusters/device-energy-management-mode.d.ts.map +1 -1
  90. package/dist/esm/clusters/device-energy-management-mode.js +91 -2
  91. package/dist/esm/clusters/device-energy-management-mode.js.map +1 -1
  92. package/dist/esm/clusters/dishwasher-alarm.d.ts +1253 -42
  93. package/dist/esm/clusters/dishwasher-alarm.d.ts.map +1 -1
  94. package/dist/esm/clusters/dishwasher-alarm.js +72 -9
  95. package/dist/esm/clusters/dishwasher-alarm.js.map +1 -1
  96. package/dist/esm/clusters/dishwasher-mode.d.ts +340 -17
  97. package/dist/esm/clusters/dishwasher-mode.d.ts.map +1 -1
  98. package/dist/esm/clusters/dishwasher-mode.js +91 -2
  99. package/dist/esm/clusters/dishwasher-mode.js.map +1 -1
  100. package/dist/esm/clusters/door-lock.d.ts +1287 -135
  101. package/dist/esm/clusters/door-lock.d.ts.map +1 -1
  102. package/dist/esm/clusters/door-lock.js +199 -3
  103. package/dist/esm/clusters/door-lock.js.map +1 -1
  104. package/dist/esm/clusters/energy-evse-mode.d.ts +409 -25
  105. package/dist/esm/clusters/energy-evse-mode.d.ts.map +1 -1
  106. package/dist/esm/clusters/energy-evse-mode.js +91 -2
  107. package/dist/esm/clusters/energy-evse-mode.js.map +1 -1
  108. package/dist/esm/clusters/fan-control.d.ts +5 -0
  109. package/dist/esm/clusters/fan-control.d.ts.map +1 -1
  110. package/dist/esm/clusters/fan-control.js.map +1 -1
  111. package/dist/esm/clusters/groups.d.ts +12 -0
  112. package/dist/esm/clusters/groups.d.ts.map +1 -1
  113. package/dist/esm/clusters/groups.js +7 -1
  114. package/dist/esm/clusters/groups.js.map +1 -1
  115. package/dist/esm/clusters/laundry-washer-mode.d.ts +340 -17
  116. package/dist/esm/clusters/laundry-washer-mode.d.ts.map +1 -1
  117. package/dist/esm/clusters/laundry-washer-mode.js +91 -2
  118. package/dist/esm/clusters/laundry-washer-mode.js.map +1 -1
  119. package/dist/esm/clusters/microwave-oven-mode.d.ts +330 -13
  120. package/dist/esm/clusters/microwave-oven-mode.d.ts.map +1 -1
  121. package/dist/esm/clusters/microwave-oven-mode.js +91 -3
  122. package/dist/esm/clusters/microwave-oven-mode.js.map +1 -1
  123. package/dist/esm/clusters/mode-base.d.ts +68 -68
  124. package/dist/esm/clusters/mode-base.d.ts.map +1 -1
  125. package/dist/esm/clusters/mode-base.js +17 -17
  126. package/dist/esm/clusters/mode-base.js.map +2 -2
  127. package/dist/esm/clusters/oven-mode.d.ts +409 -25
  128. package/dist/esm/clusters/oven-mode.d.ts.map +1 -1
  129. package/dist/esm/clusters/oven-mode.js +91 -2
  130. package/dist/esm/clusters/oven-mode.js.map +1 -1
  131. package/dist/esm/clusters/pump-configuration-and-control.d.ts +15 -0
  132. package/dist/esm/clusters/pump-configuration-and-control.d.ts.map +1 -1
  133. package/dist/esm/clusters/pump-configuration-and-control.js +6 -1
  134. package/dist/esm/clusters/pump-configuration-and-control.js.map +1 -1
  135. package/dist/esm/clusters/refrigerator-alarm.d.ts +364 -36
  136. package/dist/esm/clusters/refrigerator-alarm.d.ts.map +1 -1
  137. package/dist/esm/clusters/refrigerator-alarm.js +46 -8
  138. package/dist/esm/clusters/refrigerator-alarm.js.map +1 -1
  139. package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +340 -17
  140. package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts.map +1 -1
  141. package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +91 -2
  142. package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js.map +1 -1
  143. package/dist/esm/clusters/rvc-clean-mode.d.ts +374 -23
  144. package/dist/esm/clusters/rvc-clean-mode.d.ts.map +1 -1
  145. package/dist/esm/clusters/rvc-clean-mode.js +99 -6
  146. package/dist/esm/clusters/rvc-clean-mode.js.map +2 -2
  147. package/dist/esm/clusters/rvc-operational-state.d.ts +248 -22
  148. package/dist/esm/clusters/rvc-operational-state.d.ts.map +1 -1
  149. package/dist/esm/clusters/rvc-operational-state.js +60 -11
  150. package/dist/esm/clusters/rvc-operational-state.js.map +1 -1
  151. package/dist/esm/clusters/rvc-run-mode.d.ts +401 -40
  152. package/dist/esm/clusters/rvc-run-mode.d.ts.map +1 -1
  153. package/dist/esm/clusters/rvc-run-mode.js +101 -8
  154. package/dist/esm/clusters/rvc-run-mode.js.map +2 -2
  155. package/dist/esm/clusters/thermostat.d.ts +262 -61
  156. package/dist/esm/clusters/thermostat.d.ts.map +1 -1
  157. package/dist/esm/clusters/thermostat.js +72 -58
  158. package/dist/esm/clusters/thermostat.js.map +1 -1
  159. package/package.json +5 -5
  160. package/src/clusters/bridged-device-basic-information.ts +46 -2
  161. package/src/clusters/content-launcher.ts +5 -5
  162. package/src/clusters/device-energy-management-mode.ts +184 -3
  163. package/src/clusters/dishwasher-alarm.ts +115 -9
  164. package/src/clusters/dishwasher-mode.ts +188 -3
  165. package/src/clusters/door-lock.ts +247 -3
  166. package/src/clusters/energy-evse-mode.ts +182 -3
  167. package/src/clusters/fan-control.ts +5 -0
  168. package/src/clusters/groups.ts +8 -1
  169. package/src/clusters/laundry-washer-mode.ts +188 -3
  170. package/src/clusters/microwave-oven-mode.ts +182 -4
  171. package/src/clusters/mode-base.ts +77 -77
  172. package/src/clusters/oven-mode.ts +182 -3
  173. package/src/clusters/pump-configuration-and-control.ts +7 -1
  174. package/src/clusters/refrigerator-alarm.ts +76 -8
  175. package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +188 -3
  176. package/src/clusters/rvc-clean-mode.ts +227 -10
  177. package/src/clusters/rvc-operational-state.ts +112 -11
  178. package/src/clusters/rvc-run-mode.ts +253 -26
  179. package/src/clusters/thermostat.ts +80 -65
  180. package/src/globals/WildcardPathFlags.ts +1 -1
@@ -7,6 +7,7 @@
7
7
  import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
8
8
  import { WritableAttribute, FixedAttribute, Attribute, OptionalWritableAttribute, Command } from "../cluster/Cluster.js";
9
9
  import { BitFlag } from "../schema/BitmapSchema.js";
10
+ import { TypeFromSchema } from "../tlv/TlvSchema.js";
10
11
  import { Identity } from "#general";
11
12
  export declare namespace EnergyEvseMode {
12
13
  /**
@@ -46,7 +47,189 @@ export declare namespace EnergyEvseMode {
46
47
  *
47
48
  * @see {@link MatterSpecification.v13.Cluster} § 9.4.4.1.3
48
49
  */
49
- SolarCharging = 16386
50
+ SolarCharging = 16386,
51
+ /**
52
+ * The device decides which options, features and setting values to use.
53
+ *
54
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.8
55
+ */
56
+ Auto = 0,
57
+ /**
58
+ * The mode of the device is optimizing for faster completion.
59
+ *
60
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.8
61
+ */
62
+ Quick = 1,
63
+ /**
64
+ * The device is silent or barely audible while in this mode.
65
+ *
66
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.8
67
+ */
68
+ Quiet = 2,
69
+ /**
70
+ * Either the mode is inherently low noise or the device optimizes for that.
71
+ *
72
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.8
73
+ */
74
+ LowNoise = 3,
75
+ /**
76
+ * The device is optimizing for lower energy usage in this mode. Sometimes called "Eco mode".
77
+ *
78
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.8
79
+ */
80
+ LowEnergy = 4,
81
+ /**
82
+ * A mode suitable for use during vacations or other extended absences.
83
+ *
84
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.8
85
+ */
86
+ Vacation = 5,
87
+ /**
88
+ * The mode uses the lowest available setting value.
89
+ *
90
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.8
91
+ */
92
+ Min = 6,
93
+ /**
94
+ * The mode uses the highest available setting value.
95
+ *
96
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.8
97
+ */
98
+ Max = 7,
99
+ /**
100
+ * The mode is recommended or suitable for use during night time.
101
+ *
102
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.8
103
+ */
104
+ Night = 8,
105
+ /**
106
+ * The mode is recommended or suitable for use during day time.
107
+ *
108
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.8
109
+ */
110
+ Day = 9
111
+ }
112
+ /**
113
+ * A Mode Tag is meant to be interpreted by the client for the purpose the cluster serves.
114
+ *
115
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1
116
+ */
117
+ const TlvModeTagStruct: import("../tlv/TlvObject.js").ObjectSchema<{
118
+ /**
119
+ * If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
120
+ * 1.10.8, “Mode Namespace”).
121
+ *
122
+ * This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
123
+ *
124
+ * The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
125
+ * and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
126
+ * whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
127
+ * salt.
128
+ *
129
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
130
+ */
131
+ mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
132
+ /**
133
+ * This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
134
+ * standard.
135
+ *
136
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
137
+ */
138
+ value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
139
+ }>;
140
+ /**
141
+ * A Mode Tag is meant to be interpreted by the client for the purpose the cluster serves.
142
+ *
143
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1
144
+ */
145
+ interface ModeTagStruct extends TypeFromSchema<typeof TlvModeTagStruct> {
146
+ }
147
+ /**
148
+ * This is a struct representing a possible mode of the server.
149
+ *
150
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2
151
+ */
152
+ const TlvModeOption: import("../tlv/TlvObject.js").ObjectSchema<{
153
+ /**
154
+ * This field shall indicate readable text that describes the mode option, so that a client can provide it to
155
+ * the user to indicate what this option means. This field is meant to be readable and understandable by the
156
+ * user.
157
+ *
158
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
159
+ */
160
+ label: import("../tlv/TlvObject.js").FieldType<string>;
161
+ /**
162
+ * This field is used to identify the mode option.
163
+ *
164
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
165
+ */
166
+ mode: import("../tlv/TlvObject.js").FieldType<number>;
167
+ /**
168
+ * This field shall contain a list of tags that are associated with the mode option. This may be used by
169
+ * clients to determine the full or the partial semantics of a certain mode, depending on which tags they
170
+ * understand, using standard definitions and/or manufacturer specific namespace definitions.
171
+ *
172
+ * The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
173
+ * specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
174
+ * mode tag values from that namespace.
175
+ *
176
+ * Mode tags can help clients look for options that meet certain criteria, render the user interface, use
177
+ *
178
+ * the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
179
+ * standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
180
+ *
181
+ * A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
182
+ * and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
183
+ *
184
+ * A few examples are provided below.
185
+ *
186
+ * • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
187
+ * seeking the mode for either High or Max will find the same mode in this case.
188
+ *
189
+ * • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
190
+ * green leaf.
191
+ *
192
+ * • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
193
+ * audible sound, less likely to disturb the household’s activities.
194
+ *
195
+ * • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
196
+ * Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
197
+ *
198
+ * • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
199
+ * RVC Clean cluster that is a derivation of this cluster).
200
+ *
201
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
202
+ */
203
+ modeTags: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
204
+ /**
205
+ * If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
206
+ * 1.10.8, “Mode Namespace”).
207
+ *
208
+ * This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
209
+ *
210
+ * The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
211
+ * and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
212
+ * whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
213
+ * salt.
214
+ *
215
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
216
+ */
217
+ mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
218
+ /**
219
+ * This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
220
+ * standard.
221
+ *
222
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
223
+ */
224
+ value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
225
+ }>[]>;
226
+ }>;
227
+ /**
228
+ * This is a struct representing a possible mode of the server.
229
+ *
230
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2
231
+ */
232
+ interface ModeOption extends TypeFromSchema<typeof TlvModeOption> {
50
233
  }
51
234
  /**
52
235
  * A EnergyEvseModeCluster supports these elements if it supports feature OnOff.
@@ -94,12 +277,79 @@ export declare namespace EnergyEvseMode {
94
277
  *
95
278
  * @see {@link MatterSpecification.v13.Cluster} § 1.10.6.2
96
279
  */
97
- readonly supportedModes: FixedAttribute<import("../index.js").TypeFromFields<{
98
- label: import("../index.js").FieldType<string>;
99
- mode: import("../index.js").FieldType<number>;
100
- modeTags: import("../index.js").FieldType<import("../index.js").TypeFromFields<{
101
- mfgCode: import("../index.js").OptionalFieldType<import("../index.js").VendorId>;
102
- value: import("../index.js").FieldType<number>;
280
+ readonly supportedModes: FixedAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
281
+ /**
282
+ * This field shall indicate readable text that describes the mode option, so that a client can provide it to
283
+ * the user to indicate what this option means. This field is meant to be readable and understandable by the
284
+ * user.
285
+ *
286
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
287
+ */
288
+ label: import("../tlv/TlvObject.js").FieldType<string>;
289
+ /**
290
+ * This field is used to identify the mode option.
291
+ *
292
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
293
+ */
294
+ mode: import("../tlv/TlvObject.js").FieldType<number>;
295
+ /**
296
+ * This field shall contain a list of tags that are associated with the mode option. This may be used by
297
+ * clients to determine the full or the partial semantics of a certain mode, depending on which tags they
298
+ * understand, using standard definitions and/or manufacturer specific namespace definitions.
299
+ *
300
+ * The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
301
+ * specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
302
+ * mode tag values from that namespace.
303
+ *
304
+ * Mode tags can help clients look for options that meet certain criteria, render the user interface, use
305
+ *
306
+ * the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
307
+ * standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
308
+ *
309
+ * A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
310
+ * and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
311
+ *
312
+ * A few examples are provided below.
313
+ *
314
+ * • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
315
+ * seeking the mode for either High or Max will find the same mode in this case.
316
+ *
317
+ * • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
318
+ * green leaf.
319
+ *
320
+ * • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
321
+ * audible sound, less likely to disturb the household’s activities.
322
+ *
323
+ * • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
324
+ * Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
325
+ *
326
+ * • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
327
+ * RVC Clean cluster that is a derivation of this cluster).
328
+ *
329
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
330
+ */
331
+ modeTags: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
332
+ /**
333
+ * If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
334
+ * 1.10.8, “Mode Namespace”).
335
+ *
336
+ * This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
337
+ *
338
+ * The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
339
+ * and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
340
+ * whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
341
+ * salt.
342
+ *
343
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
344
+ */
345
+ mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
346
+ /**
347
+ * This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
348
+ * standard.
349
+ *
350
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
351
+ */
352
+ value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
103
353
  }>[]>;
104
354
  }>[], any>;
105
355
  /**
@@ -141,8 +391,8 @@ export declare namespace EnergyEvseMode {
141
391
  *
142
392
  * @see {@link MatterSpecification.v13.Cluster} § 1.10.7.1
143
393
  */
144
- readonly changeToMode: Command<import("../index.js").TypeFromFields<{
145
- newMode: import("../index.js").FieldType<number>;
394
+ readonly changeToMode: Command<import("../tlv/TlvObject.js").TypeFromFields<{
395
+ newMode: import("../tlv/TlvObject.js").FieldType<number>;
146
396
  }>, void, any>;
147
397
  };
148
398
  /**
@@ -198,12 +448,79 @@ export declare namespace EnergyEvseMode {
198
448
  *
199
449
  * @see {@link MatterSpecification.v13.Cluster} § 1.10.6.2
200
450
  */
201
- readonly supportedModes: FixedAttribute<import("../index.js").TypeFromFields<{
202
- label: import("../index.js").FieldType<string>;
203
- mode: import("../index.js").FieldType<number>;
204
- modeTags: import("../index.js").FieldType<import("../index.js").TypeFromFields<{
205
- mfgCode: import("../index.js").OptionalFieldType<import("../index.js").VendorId>;
206
- value: import("../index.js").FieldType<number>;
451
+ readonly supportedModes: FixedAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
452
+ /**
453
+ * This field shall indicate readable text that describes the mode option, so that a client can provide it to
454
+ * the user to indicate what this option means. This field is meant to be readable and understandable by the
455
+ * user.
456
+ *
457
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
458
+ */
459
+ label: import("../tlv/TlvObject.js").FieldType<string>;
460
+ /**
461
+ * This field is used to identify the mode option.
462
+ *
463
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
464
+ */
465
+ mode: import("../tlv/TlvObject.js").FieldType<number>;
466
+ /**
467
+ * This field shall contain a list of tags that are associated with the mode option. This may be used by
468
+ * clients to determine the full or the partial semantics of a certain mode, depending on which tags they
469
+ * understand, using standard definitions and/or manufacturer specific namespace definitions.
470
+ *
471
+ * The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
472
+ * specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
473
+ * mode tag values from that namespace.
474
+ *
475
+ * Mode tags can help clients look for options that meet certain criteria, render the user interface, use
476
+ *
477
+ * the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
478
+ * standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
479
+ *
480
+ * A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
481
+ * and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
482
+ *
483
+ * A few examples are provided below.
484
+ *
485
+ * • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
486
+ * seeking the mode for either High or Max will find the same mode in this case.
487
+ *
488
+ * • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
489
+ * green leaf.
490
+ *
491
+ * • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
492
+ * audible sound, less likely to disturb the household’s activities.
493
+ *
494
+ * • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
495
+ * Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
496
+ *
497
+ * • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
498
+ * RVC Clean cluster that is a derivation of this cluster).
499
+ *
500
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
501
+ */
502
+ modeTags: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
503
+ /**
504
+ * If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
505
+ * 1.10.8, “Mode Namespace”).
506
+ *
507
+ * This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
508
+ *
509
+ * The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
510
+ * and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
511
+ * whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
512
+ * salt.
513
+ *
514
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
515
+ */
516
+ mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
517
+ /**
518
+ * This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
519
+ * standard.
520
+ *
521
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
522
+ */
523
+ value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
207
524
  }>[]>;
208
525
  }>[], any>;
209
526
  /**
@@ -245,8 +562,8 @@ export declare namespace EnergyEvseMode {
245
562
  *
246
563
  * @see {@link MatterSpecification.v13.Cluster} § 1.10.7.1
247
564
  */
248
- readonly changeToMode: Command<import("../index.js").TypeFromFields<{
249
- newMode: import("../index.js").FieldType<number>;
565
+ readonly changeToMode: Command<import("../tlv/TlvObject.js").TypeFromFields<{
566
+ newMode: import("../tlv/TlvObject.js").FieldType<number>;
250
567
  }>, void, any>;
251
568
  };
252
569
  /**
@@ -312,12 +629,79 @@ export declare namespace EnergyEvseMode {
312
629
  onOff: boolean;
313
630
  }];
314
631
  };
315
- readonly supportedModes: FixedAttribute<import("../index.js").TypeFromFields<{
316
- label: import("../index.js").FieldType<string>;
317
- mode: import("../index.js").FieldType<number>;
318
- modeTags: import("../index.js").FieldType<import("../index.js").TypeFromFields<{
319
- mfgCode: import("../index.js").OptionalFieldType<import("../index.js").VendorId>;
320
- value: import("../index.js").FieldType<number>;
632
+ readonly supportedModes: FixedAttribute<import("../tlv/TlvObject.js").TypeFromFields<{
633
+ /**
634
+ * This field shall indicate readable text that describes the mode option, so that a client can provide it to
635
+ * the user to indicate what this option means. This field is meant to be readable and understandable by the
636
+ * user.
637
+ *
638
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
639
+ */
640
+ label: import("../tlv/TlvObject.js").FieldType<string>;
641
+ /**
642
+ * This field is used to identify the mode option.
643
+ *
644
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
645
+ */
646
+ mode: import("../tlv/TlvObject.js").FieldType<number>;
647
+ /**
648
+ * This field shall contain a list of tags that are associated with the mode option. This may be used by
649
+ * clients to determine the full or the partial semantics of a certain mode, depending on which tags they
650
+ * understand, using standard definitions and/or manufacturer specific namespace definitions.
651
+ *
652
+ * The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
653
+ * specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
654
+ * mode tag values from that namespace.
655
+ *
656
+ * Mode tags can help clients look for options that meet certain criteria, render the user interface, use
657
+ *
658
+ * the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
659
+ * standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
660
+ *
661
+ * A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
662
+ * and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
663
+ *
664
+ * A few examples are provided below.
665
+ *
666
+ * • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
667
+ * seeking the mode for either High or Max will find the same mode in this case.
668
+ *
669
+ * • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
670
+ * green leaf.
671
+ *
672
+ * • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
673
+ * audible sound, less likely to disturb the household’s activities.
674
+ *
675
+ * • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
676
+ * Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
677
+ *
678
+ * • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
679
+ * RVC Clean cluster that is a derivation of this cluster).
680
+ *
681
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
682
+ */
683
+ modeTags: import("../tlv/TlvObject.js").FieldType<import("../tlv/TlvObject.js").TypeFromFields<{
684
+ /**
685
+ * If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
686
+ * 1.10.8, “Mode Namespace”).
687
+ *
688
+ * This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
689
+ *
690
+ * The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
691
+ * and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
692
+ * whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
693
+ * salt.
694
+ *
695
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
696
+ */
697
+ mfgCode: import("../tlv/TlvObject.js").OptionalFieldType<import("../datatype/VendorId.js").VendorId>;
698
+ /**
699
+ * This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
700
+ * standard.
701
+ *
702
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
703
+ */
704
+ value: import("../tlv/TlvObject.js").FieldType<ModeTag>;
321
705
  }>[]>;
322
706
  }>[], any>;
323
707
  readonly currentMode: Attribute<number, any>;
@@ -346,8 +730,8 @@ export declare namespace EnergyEvseMode {
346
730
  *
347
731
  * @see {@link MatterSpecification.v13.Cluster} § 1.10.7.1
348
732
  */
349
- readonly changeToMode: Command<import("../index.js").TypeFromFields<{
350
- newMode: import("../index.js").FieldType<number>;
733
+ readonly changeToMode: Command<import("../tlv/TlvObject.js").TypeFromFields<{
734
+ newMode: import("../tlv/TlvObject.js").FieldType<number>;
351
735
  }>, void, any>;
352
736
  };
353
737
  }, []>;
@@ -1 +1 @@
1
- {"version":3,"file":"energy-evse-mode.d.ts","sourceRoot":"","sources":["../../../src/clusters/energy-evse-mode.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EACH,iBAAiB,EACjB,cAAc,EACd,SAAS,EACT,yBAAyB,EACzB,OAAO,EAEV,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAGpD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,yBAAiB,cAAc,CAAC;IAC5B;;;;OAIG;IACH,KAAY,OAAO;QACf;;;;;;;WAOG;QACH,KAAK,UAAU;KAClB;IAED,KAAY,OAAO;QACf;;;;;WAKG;QACH,MAAM,QAAQ;QAEd;;;;;WAKG;QACH,SAAS,QAAQ;QAEjB;;;;;WAKG;QACH,aAAa,QAAQ;KACxB;IAED;;OAEG;IACI,MAAM,cAAc;;YAEnB;;;;;;;;eAQG;;;KAGT,CAAC;IAEH;;OAEG;IACI,MAAM,IAAI;;;;;YAMT;;;;;;;eAOG;;;;YAKH;;;;;;;;;eASG;;;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AM,qBAAqB,GAAG,cAAc,CAAC,OAAO,CAAC;AAC3D,eAAO,MAAM,qBAAqB,wBAAyB,CAAC"}
@@ -28,6 +28,9 @@ var import_TlvNumber = require("../tlv/TlvNumber.js");
28
28
  var import_TlvNullable = require("../tlv/TlvNullable.js");
29
29
  var import_BitmapSchema = require("../schema/BitmapSchema.js");
30
30
  var import_TlvArray = require("../tlv/TlvArray.js");
31
+ var import_TlvObject = require("../tlv/TlvObject.js");
32
+ var import_TlvString = require("../tlv/TlvString.js");
33
+ var import_VendorId = require("../datatype/VendorId.js");
31
34
  var import_mode_base = require("./mode-base.js");
32
35
  var import_ClusterRegistry = require("../cluster/ClusterRegistry.js");
33
36
  /**
@@ -46,7 +49,93 @@ var EnergyEvseMode;
46
49
  ModeTag2[ModeTag2["Manual"] = 16384] = "Manual";
47
50
  ModeTag2[ModeTag2["TimeOfUse"] = 16385] = "TimeOfUse";
48
51
  ModeTag2[ModeTag2["SolarCharging"] = 16386] = "SolarCharging";
52
+ ModeTag2[ModeTag2["Auto"] = 0] = "Auto";
53
+ ModeTag2[ModeTag2["Quick"] = 1] = "Quick";
54
+ ModeTag2[ModeTag2["Quiet"] = 2] = "Quiet";
55
+ ModeTag2[ModeTag2["LowNoise"] = 3] = "LowNoise";
56
+ ModeTag2[ModeTag2["LowEnergy"] = 4] = "LowEnergy";
57
+ ModeTag2[ModeTag2["Vacation"] = 5] = "Vacation";
58
+ ModeTag2[ModeTag2["Min"] = 6] = "Min";
59
+ ModeTag2[ModeTag2["Max"] = 7] = "Max";
60
+ ModeTag2[ModeTag2["Night"] = 8] = "Night";
61
+ ModeTag2[ModeTag2["Day"] = 9] = "Day";
49
62
  })(ModeTag = EnergyEvseMode2.ModeTag || (EnergyEvseMode2.ModeTag = {}));
63
+ EnergyEvseMode2.TlvModeTagStruct = (0, import_TlvObject.TlvObject)({
64
+ /**
65
+ * If the MfgCode field exists, the Value field shall be in the manufacturer-specific value range (see Section
66
+ * 1.10.8, “Mode Namespace”).
67
+ *
68
+ * This field shall indicate the manufacturer’s VendorID and it shall determine the meaning of the Value field.
69
+ *
70
+ * The same manufacturer code and mode tag value in separate cluster instances are part of the same namespace
71
+ * and have the same meaning. For example: a manufacturer tag meaning "pinch" can be used both in a cluster
72
+ * whose purpose is to choose the amount of sugar, or in a cluster whose purpose is to choose the amount of
73
+ * salt.
74
+ *
75
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.1
76
+ */
77
+ mfgCode: (0, import_TlvObject.TlvOptionalField)(0, import_VendorId.TlvVendorId),
78
+ /**
79
+ * This field shall indicate the mode tag within a mode tag namespace which is either manufacturer specific or
80
+ * standard.
81
+ *
82
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.1.2
83
+ */
84
+ value: (0, import_TlvObject.TlvField)(1, (0, import_TlvNumber.TlvEnum)())
85
+ });
86
+ EnergyEvseMode2.TlvModeOption = (0, import_TlvObject.TlvObject)({
87
+ /**
88
+ * This field shall indicate readable text that describes the mode option, so that a client can provide it to
89
+ * the user to indicate what this option means. This field is meant to be readable and understandable by the
90
+ * user.
91
+ *
92
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.1
93
+ */
94
+ label: (0, import_TlvObject.TlvField)(0, import_TlvString.TlvString.bound({ maxLength: 64 })),
95
+ /**
96
+ * This field is used to identify the mode option.
97
+ *
98
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.2
99
+ */
100
+ mode: (0, import_TlvObject.TlvField)(1, import_TlvNumber.TlvUInt8),
101
+ /**
102
+ * This field shall contain a list of tags that are associated with the mode option. This may be used by
103
+ * clients to determine the full or the partial semantics of a certain mode, depending on which tags they
104
+ * understand, using standard definitions and/or manufacturer specific namespace definitions.
105
+ *
106
+ * The standard mode tags are defined in this cluster specification. For the derived cluster instances, if the
107
+ * specification of the derived cluster defines a namespace, the set of standard mode tags also includes the
108
+ * mode tag values from that namespace.
109
+ *
110
+ * Mode tags can help clients look for options that meet certain criteria, render the user interface, use
111
+ *
112
+ * the mode in an automation, or to craft help text their voice-driven interfaces. A mode tag shall be either a
113
+ * standard tag or a manufacturer specific tag, as defined in each ModeTagStruct list entry.
114
+ *
115
+ * A mode option may have more than one mode tag. A mode option may be associated with a mixture of standard
116
+ * and manufacturer specific mode tags. A mode option shall be associated with at least one standard mode tag.
117
+ *
118
+ * A few examples are provided below.
119
+ *
120
+ * • A mode named "100%" can have both the High (manufacturer specific) and Max (standard) mode tag. Clients
121
+ * seeking the mode for either High or Max will find the same mode in this case.
122
+ *
123
+ * • A mode that includes a LowEnergy tag can be displayed by the client using a widget icon that shows a
124
+ * green leaf.
125
+ *
126
+ * • A mode that includes a LowNoise tag may be used by the client when the user wishes for a lower level of
127
+ * audible sound, less likely to disturb the household’s activities.
128
+ *
129
+ * • A mode that includes a LowEnergy tag (standard, defined in this cluster specification) and also a
130
+ * Delicate tag (standard, defined in the namespace of a Laundry Mode derived cluster).
131
+ *
132
+ * • A mode that includes both a generic Quick tag (defined here), and Vacuum and Mop tags, (defined in the
133
+ * RVC Clean cluster that is a derivation of this cluster).
134
+ *
135
+ * @see {@link MatterSpecification.v13.Cluster} § 1.10.5.2.3
136
+ */
137
+ modeTags: (0, import_TlvObject.TlvField)(2, (0, import_TlvArray.TlvArray)(EnergyEvseMode2.TlvModeTagStruct, { maxLength: 8 }))
138
+ });
50
139
  EnergyEvseMode2.OnOffComponent = import_MutableCluster.MutableCluster.Component({
51
140
  attributes: {
52
141
  /**
@@ -87,7 +176,7 @@ var EnergyEvseMode;
87
176
  *
88
177
  * @see {@link MatterSpecification.v13.Cluster} § 1.10.6.2
89
178
  */
90
- supportedModes: (0, import_Cluster.FixedAttribute)(0, (0, import_TlvArray.TlvArray)(import_mode_base.ModeBase.TlvModeOption, { minLength: 2, maxLength: 255 })),
179
+ supportedModes: (0, import_Cluster.FixedAttribute)(0, (0, import_TlvArray.TlvArray)(EnergyEvseMode2.TlvModeOption, { minLength: 2, maxLength: 255 })),
91
180
  /**
92
181
  * Indicates the current mode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 * @deprecated
188
+ */
186
189
  On = 4,
187
190
  /**
188
191
  * Fan is using auto mode
@@ -190,6 +193,8 @@ export declare namespace FanControl {
190
193
  Auto = 5,
191
194
  /**
192
195
  * Fan is using smart mode
196
+ *
197
+ * @deprecated
193
198
  */
194
199
  Smart = 6
195
200
  }