@matterbridge/core 3.7.0-dev-20260319-871e264 → 3.7.0-dev-20260320-27468a0

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.
@@ -1,4 +1,5 @@
1
1
  import { HandlerFunction } from '@matter/general';
2
+ import type { Attribute } from '@matter/types/cluster';
2
3
  import { ActivatedCarbonFilterMonitoring } from '@matter/types/clusters/activated-carbon-filter-monitoring';
3
4
  import { BooleanStateConfiguration } from '@matter/types/clusters/boolean-state-configuration';
4
5
  import { ColorControl } from '@matter/types/clusters/color-control';
@@ -111,6 +112,17 @@ export interface MatterbridgeEndpointCommands {
111
112
  sendKey: HandlerFunction;
112
113
  resetCondition: HandlerFunction;
113
114
  }
115
+ type OptionalKeys<T> = {
116
+ [K in keyof T]-?: T[K] extends {
117
+ optional: true;
118
+ } ? K : never;
119
+ }[keyof T];
120
+ type AttributeValue<T> = T extends Attribute<infer JsType, infer _F> ? JsType : never;
121
+ export type ClusterAttributeValues<T extends Record<string, unknown>> = {
122
+ -readonly [K in Exclude<keyof T, OptionalKeys<T>>]: AttributeValue<T[K]>;
123
+ } & {
124
+ -readonly [K in OptionalKeys<T>]?: AttributeValue<T[K]>;
125
+ };
114
126
  export type CommandHandlers = keyof CommandHandlerDataMap;
115
127
  export type CommandHandlerData<T extends CommandHandlers = CommandHandlers> = CommandHandlerDataMap[T];
116
128
  export type CommandHandlerFunction<T extends CommandHandlers = CommandHandlers> = (data: CommandHandlerData<T>) => void | Promise<void>;
@@ -121,14 +133,14 @@ export type CommandHandlerDataMap = {
121
133
  command: 'identify';
122
134
  request: Identify.IdentifyRequest;
123
135
  cluster: 'identify';
124
- attributes: (typeof Identify.Complete)['attributes'];
136
+ attributes: ClusterAttributeValues<(typeof Identify.Complete)['attributes']>;
125
137
  endpoint: MatterbridgeEndpoint;
126
138
  };
127
139
  'Identify.triggerEffect': {
128
140
  command: 'triggerEffect';
129
141
  request: Identify.TriggerEffectRequest;
130
142
  cluster: 'identify';
131
- attributes: (typeof Identify.Complete)['attributes'];
143
+ attributes: ClusterAttributeValues<(typeof Identify.Complete)['attributes']>;
132
144
  endpoint: MatterbridgeEndpoint;
133
145
  };
134
146
  'on': CommandHandlerData<'OnOff.on'>;
@@ -139,28 +151,28 @@ export type CommandHandlerDataMap = {
139
151
  command: 'on';
140
152
  request: {};
141
153
  cluster: 'onOff';
142
- attributes: (typeof OnOff.Complete)['attributes'];
154
+ attributes: ClusterAttributeValues<(typeof OnOff.Complete)['attributes']>;
143
155
  endpoint: MatterbridgeEndpoint;
144
156
  };
145
157
  'OnOff.off': {
146
158
  command: 'off';
147
159
  request: {};
148
160
  cluster: 'onOff';
149
- attributes: (typeof OnOff.Complete)['attributes'];
161
+ attributes: ClusterAttributeValues<(typeof OnOff.Complete)['attributes']>;
150
162
  endpoint: MatterbridgeEndpoint;
151
163
  };
152
164
  'OnOff.toggle': {
153
165
  command: 'toggle';
154
166
  request: {};
155
167
  cluster: 'onOff';
156
- attributes: (typeof OnOff.Complete)['attributes'];
168
+ attributes: ClusterAttributeValues<(typeof OnOff.Complete)['attributes']>;
157
169
  endpoint: MatterbridgeEndpoint;
158
170
  };
159
171
  'OnOff.offWithEffect': {
160
172
  command: 'offWithEffect';
161
173
  request: OnOff.OffWithEffectRequest;
162
174
  cluster: 'onOff';
163
- attributes: (typeof OnOff.Complete)['attributes'];
175
+ attributes: ClusterAttributeValues<(typeof OnOff.Complete)['attributes']>;
164
176
  endpoint: MatterbridgeEndpoint;
165
177
  };
166
178
  'moveToLevel': CommandHandlerData<'LevelControl.moveToLevel'>;
@@ -169,14 +181,14 @@ export type CommandHandlerDataMap = {
169
181
  command: 'moveToLevel';
170
182
  request: LevelControl.MoveToLevelRequest;
171
183
  cluster: 'levelControl';
172
- attributes: (typeof LevelControl.Complete)['attributes'];
184
+ attributes: ClusterAttributeValues<(typeof LevelControl.Complete)['attributes']>;
173
185
  endpoint: MatterbridgeEndpoint;
174
186
  };
175
187
  'LevelControl.moveToLevelWithOnOff': {
176
188
  command: 'moveToLevelWithOnOff';
177
189
  request: LevelControl.MoveToLevelRequest;
178
190
  cluster: 'levelControl';
179
- attributes: (typeof LevelControl.Complete)['attributes'];
191
+ attributes: ClusterAttributeValues<(typeof LevelControl.Complete)['attributes']>;
180
192
  endpoint: MatterbridgeEndpoint;
181
193
  };
182
194
  'moveToColor': CommandHandlerData<'ColorControl.moveToColor'>;
@@ -198,105 +210,105 @@ export type CommandHandlerDataMap = {
198
210
  command: 'moveToColor';
199
211
  request: ColorControl.MoveToColorRequest;
200
212
  cluster: 'colorControl';
201
- attributes: (typeof ColorControl.Complete)['attributes'];
213
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
202
214
  endpoint: MatterbridgeEndpoint;
203
215
  };
204
216
  'ColorControl.moveColor': {
205
217
  command: 'moveColor';
206
218
  request: ColorControl.MoveColorRequest;
207
219
  cluster: 'colorControl';
208
- attributes: (typeof ColorControl.Complete)['attributes'];
220
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
209
221
  endpoint: MatterbridgeEndpoint;
210
222
  };
211
223
  'ColorControl.stepColor': {
212
224
  command: 'stepColor';
213
225
  request: ColorControl.StepColorRequest;
214
226
  cluster: 'colorControl';
215
- attributes: (typeof ColorControl.Complete)['attributes'];
227
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
216
228
  endpoint: MatterbridgeEndpoint;
217
229
  };
218
230
  'ColorControl.moveToHue': {
219
231
  command: 'moveToHue';
220
232
  request: ColorControl.MoveToHueRequest;
221
233
  cluster: 'colorControl';
222
- attributes: (typeof ColorControl.Complete)['attributes'];
234
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
223
235
  endpoint: MatterbridgeEndpoint;
224
236
  };
225
237
  'ColorControl.moveHue': {
226
238
  command: 'moveHue';
227
239
  request: ColorControl.MoveHueRequest;
228
240
  cluster: 'colorControl';
229
- attributes: (typeof ColorControl.Complete)['attributes'];
241
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
230
242
  endpoint: MatterbridgeEndpoint;
231
243
  };
232
244
  'ColorControl.stepHue': {
233
245
  command: 'stepHue';
234
246
  request: ColorControl.StepHueRequest;
235
247
  cluster: 'colorControl';
236
- attributes: (typeof ColorControl.Complete)['attributes'];
248
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
237
249
  endpoint: MatterbridgeEndpoint;
238
250
  };
239
251
  'ColorControl.enhancedMoveToHue': {
240
252
  command: 'enhancedMoveToHue';
241
253
  request: ColorControl.EnhancedMoveToHueRequest;
242
254
  cluster: 'colorControl';
243
- attributes: (typeof ColorControl.Complete)['attributes'];
255
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
244
256
  endpoint: MatterbridgeEndpoint;
245
257
  };
246
258
  'ColorControl.enhancedMoveHue': {
247
259
  command: 'enhancedMoveHue';
248
260
  request: ColorControl.EnhancedMoveHueRequest;
249
261
  cluster: 'colorControl';
250
- attributes: (typeof ColorControl.Complete)['attributes'];
262
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
251
263
  endpoint: MatterbridgeEndpoint;
252
264
  };
253
265
  'ColorControl.enhancedStepHue': {
254
266
  command: 'enhancedStepHue';
255
267
  request: ColorControl.EnhancedStepHueRequest;
256
268
  cluster: 'colorControl';
257
- attributes: (typeof ColorControl.Complete)['attributes'];
269
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
258
270
  endpoint: MatterbridgeEndpoint;
259
271
  };
260
272
  'ColorControl.moveToSaturation': {
261
273
  command: 'moveToSaturation';
262
274
  request: ColorControl.MoveToSaturationRequest;
263
275
  cluster: 'colorControl';
264
- attributes: (typeof ColorControl.Complete)['attributes'];
276
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
265
277
  endpoint: MatterbridgeEndpoint;
266
278
  };
267
279
  'ColorControl.moveSaturation': {
268
280
  command: 'moveSaturation';
269
281
  request: ColorControl.MoveSaturationRequest;
270
282
  cluster: 'colorControl';
271
- attributes: (typeof ColorControl.Complete)['attributes'];
283
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
272
284
  endpoint: MatterbridgeEndpoint;
273
285
  };
274
286
  'ColorControl.stepSaturation': {
275
287
  command: 'stepSaturation';
276
288
  request: ColorControl.StepSaturationRequest;
277
289
  cluster: 'colorControl';
278
- attributes: (typeof ColorControl.Complete)['attributes'];
290
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
279
291
  endpoint: MatterbridgeEndpoint;
280
292
  };
281
293
  'ColorControl.moveToHueAndSaturation': {
282
294
  command: 'moveToHueAndSaturation';
283
295
  request: ColorControl.MoveToHueAndSaturationRequest;
284
296
  cluster: 'colorControl';
285
- attributes: (typeof ColorControl.Complete)['attributes'];
297
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
286
298
  endpoint: MatterbridgeEndpoint;
287
299
  };
288
300
  'ColorControl.enhancedMoveToHueAndSaturation': {
289
301
  command: 'enhancedMoveToHueAndSaturation';
290
302
  request: ColorControl.EnhancedMoveToHueAndSaturationRequest;
291
303
  cluster: 'colorControl';
292
- attributes: (typeof ColorControl.Complete)['attributes'];
304
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
293
305
  endpoint: MatterbridgeEndpoint;
294
306
  };
295
307
  'ColorControl.moveToColorTemperature': {
296
308
  command: 'moveToColorTemperature';
297
309
  request: ColorControl.MoveToColorTemperatureRequest;
298
310
  cluster: 'colorControl';
299
- attributes: (typeof ColorControl.Complete)['attributes'];
311
+ attributes: ClusterAttributeValues<(typeof ColorControl.Complete)['attributes']>;
300
312
  endpoint: MatterbridgeEndpoint;
301
313
  };
302
314
  'upOrOpen': CommandHandlerData<'WindowCovering.upOrOpen'>;
@@ -308,35 +320,35 @@ export type CommandHandlerDataMap = {
308
320
  command: 'upOrOpen';
309
321
  request: {};
310
322
  cluster: 'windowCovering';
311
- attributes: (typeof WindowCovering.Complete)['attributes'];
323
+ attributes: ClusterAttributeValues<(typeof WindowCovering.Complete)['attributes']>;
312
324
  endpoint: MatterbridgeEndpoint;
313
325
  };
314
326
  'WindowCovering.downOrClose': {
315
327
  command: 'downOrClose';
316
328
  request: {};
317
329
  cluster: 'windowCovering';
318
- attributes: (typeof WindowCovering.Complete)['attributes'];
330
+ attributes: ClusterAttributeValues<(typeof WindowCovering.Complete)['attributes']>;
319
331
  endpoint: MatterbridgeEndpoint;
320
332
  };
321
333
  'WindowCovering.stopMotion': {
322
334
  command: 'stopMotion';
323
335
  request: {};
324
336
  cluster: 'windowCovering';
325
- attributes: (typeof WindowCovering.Complete)['attributes'];
337
+ attributes: ClusterAttributeValues<(typeof WindowCovering.Complete)['attributes']>;
326
338
  endpoint: MatterbridgeEndpoint;
327
339
  };
328
340
  'WindowCovering.goToLiftPercentage': {
329
341
  command: 'goToLiftPercentage';
330
342
  request: WindowCovering.GoToLiftPercentageRequest;
331
343
  cluster: 'windowCovering';
332
- attributes: (typeof WindowCovering.Complete)['attributes'];
344
+ attributes: ClusterAttributeValues<(typeof WindowCovering.Complete)['attributes']>;
333
345
  endpoint: MatterbridgeEndpoint;
334
346
  };
335
347
  'WindowCovering.goToTiltPercentage': {
336
348
  command: 'goToTiltPercentage';
337
349
  request: WindowCovering.GoToTiltPercentageRequest;
338
350
  cluster: 'windowCovering';
339
- attributes: (typeof WindowCovering.Complete)['attributes'];
351
+ attributes: ClusterAttributeValues<(typeof WindowCovering.Complete)['attributes']>;
340
352
  endpoint: MatterbridgeEndpoint;
341
353
  };
342
354
  'moveTo': CommandHandlerData<'ClosureControl.moveTo'>;
@@ -344,14 +356,14 @@ export type CommandHandlerDataMap = {
344
356
  command: 'moveTo';
345
357
  request: ClosureControl.MoveToRequest;
346
358
  cluster: 'closureControl';
347
- attributes: (typeof ClosureControl.Complete)['attributes'];
359
+ attributes: ClusterAttributeValues<(typeof ClosureControl.Complete)['attributes']>;
348
360
  endpoint: MatterbridgeEndpoint;
349
361
  };
350
362
  'ClosureControl.stop': {
351
363
  command: 'stop';
352
364
  request: {};
353
365
  cluster: 'closureControl';
354
- attributes: (typeof ClosureControl.Complete)['attributes'];
366
+ attributes: ClusterAttributeValues<(typeof ClosureControl.Complete)['attributes']>;
355
367
  endpoint: MatterbridgeEndpoint;
356
368
  };
357
369
  'setTarget': CommandHandlerData<'ClosureDimension.setTarget'>;
@@ -359,14 +371,14 @@ export type CommandHandlerDataMap = {
359
371
  command: 'setTarget';
360
372
  request: ClosureDimension.SetTargetRequest;
361
373
  cluster: 'closureDimension';
362
- attributes: (typeof ClosureDimension.Complete)['attributes'];
374
+ attributes: ClusterAttributeValues<(typeof ClosureDimension.Complete)['attributes']>;
363
375
  endpoint: MatterbridgeEndpoint;
364
376
  };
365
377
  'ClosureDimension.step': {
366
378
  command: 'step';
367
379
  request: ClosureDimension.StepRequest;
368
380
  cluster: 'closureDimension';
369
- attributes: (typeof ClosureDimension.Complete)['attributes'];
381
+ attributes: ClusterAttributeValues<(typeof ClosureDimension.Complete)['attributes']>;
370
382
  endpoint: MatterbridgeEndpoint;
371
383
  };
372
384
  'lockDoor': CommandHandlerData<'DoorLock.lockDoor'>;
@@ -375,14 +387,14 @@ export type CommandHandlerDataMap = {
375
387
  command: 'lockDoor';
376
388
  request: DoorLock.LockDoorRequest;
377
389
  cluster: 'doorLock';
378
- attributes: (typeof DoorLock.Complete)['attributes'];
390
+ attributes: ClusterAttributeValues<(typeof DoorLock.Complete)['attributes']>;
379
391
  endpoint: MatterbridgeEndpoint;
380
392
  };
381
393
  'DoorLock.unlockDoor': {
382
394
  command: 'unlockDoor';
383
395
  request: DoorLock.UnlockDoorRequest;
384
396
  cluster: 'doorLock';
385
- attributes: (typeof DoorLock.Complete)['attributes'];
397
+ attributes: ClusterAttributeValues<(typeof DoorLock.Complete)['attributes']>;
386
398
  endpoint: MatterbridgeEndpoint;
387
399
  };
388
400
  'setpointRaiseLower': CommandHandlerData<'Thermostat.setpointRaiseLower'>;
@@ -391,14 +403,14 @@ export type CommandHandlerDataMap = {
391
403
  command: 'setpointRaiseLower';
392
404
  request: Thermostat.SetpointRaiseLowerRequest;
393
405
  cluster: 'thermostat';
394
- attributes: (typeof Thermostat.Complete)['attributes'];
406
+ attributes: ClusterAttributeValues<(typeof Thermostat.Complete)['attributes']>;
395
407
  endpoint: MatterbridgeEndpoint;
396
408
  };
397
409
  'Thermostat.setActivePresetRequest': {
398
410
  command: 'setActivePresetRequest';
399
411
  request: Thermostat.SetActivePresetRequest;
400
412
  cluster: 'thermostat';
401
- attributes: (typeof Thermostat.Complete)['attributes'];
413
+ attributes: ClusterAttributeValues<(typeof Thermostat.Complete)['attributes']>;
402
414
  endpoint: MatterbridgeEndpoint;
403
415
  };
404
416
  'step': CommandHandlerData<'FanControl.step'>;
@@ -406,7 +418,7 @@ export type CommandHandlerDataMap = {
406
418
  command: 'step';
407
419
  request: FanControl.StepRequest;
408
420
  cluster: 'fanControl';
409
- attributes: (typeof FanControl.Complete)['attributes'];
421
+ attributes: ClusterAttributeValues<(typeof FanControl.Complete)['attributes']>;
410
422
  endpoint: MatterbridgeEndpoint;
411
423
  };
412
424
  'changeToMode': CommandHandlerData<'ModeSelect.changeToMode'>;
@@ -414,56 +426,56 @@ export type CommandHandlerDataMap = {
414
426
  command: 'changeToMode';
415
427
  request: ModeSelect.ChangeToModeRequest;
416
428
  cluster: 'modeSelect';
417
- attributes: (typeof ModeSelect.Complete)['attributes'];
429
+ attributes: ClusterAttributeValues<(typeof ModeSelect.Complete)['attributes']>;
418
430
  endpoint: MatterbridgeEndpoint;
419
431
  };
420
432
  'DishwasherMode.changeToMode': {
421
433
  command: 'changeToMode';
422
434
  request: ModeBase.ChangeToModeRequest;
423
435
  cluster: 'dishwasherMode';
424
- attributes: (typeof DishwasherMode.Complete)['attributes'];
436
+ attributes: ClusterAttributeValues<(typeof DishwasherMode.Complete)['attributes']>;
425
437
  endpoint: MatterbridgeEndpoint;
426
438
  };
427
439
  'LaundryWasherMode.changeToMode': {
428
440
  command: 'changeToMode';
429
441
  request: ModeBase.ChangeToModeRequest;
430
442
  cluster: 'laundryWasherMode';
431
- attributes: (typeof LaundryWasherMode.Complete)['attributes'];
443
+ attributes: ClusterAttributeValues<(typeof LaundryWasherMode.Complete)['attributes']>;
432
444
  endpoint: MatterbridgeEndpoint;
433
445
  };
434
446
  'EnergyEvseMode.changeToMode': {
435
447
  command: 'changeToMode';
436
448
  request: ModeBase.ChangeToModeRequest;
437
449
  cluster: 'energyEvseMode';
438
- attributes: (typeof EnergyEvseMode.Complete)['attributes'];
450
+ attributes: ClusterAttributeValues<(typeof EnergyEvseMode.Complete)['attributes']>;
439
451
  endpoint: MatterbridgeEndpoint;
440
452
  };
441
453
  'RvcRunMode.changeToMode': {
442
454
  command: 'changeToMode';
443
455
  request: ModeBase.ChangeToModeRequest;
444
456
  cluster: 'rvcRunMode';
445
- attributes: (typeof RvcRunMode.Complete)['attributes'];
457
+ attributes: ClusterAttributeValues<(typeof RvcRunMode.Complete)['attributes']>;
446
458
  endpoint: MatterbridgeEndpoint;
447
459
  };
448
460
  'RvcCleanMode.changeToMode': {
449
461
  command: 'changeToMode';
450
462
  request: ModeBase.ChangeToModeRequest;
451
463
  cluster: 'rvcCleanMode';
452
- attributes: (typeof RvcCleanMode.Complete)['attributes'];
464
+ attributes: ClusterAttributeValues<(typeof RvcCleanMode.Complete)['attributes']>;
453
465
  endpoint: MatterbridgeEndpoint;
454
466
  };
455
467
  'WaterHeaterMode.changeToMode': {
456
468
  command: 'changeToMode';
457
469
  request: ModeBase.ChangeToModeRequest;
458
470
  cluster: 'waterHeaterMode';
459
- attributes: (typeof WaterHeaterMode.Complete)['attributes'];
471
+ attributes: ClusterAttributeValues<(typeof WaterHeaterMode.Complete)['attributes']>;
460
472
  endpoint: MatterbridgeEndpoint;
461
473
  };
462
474
  'DeviceEnergyManagementMode.changeToMode': {
463
475
  command: 'changeToMode';
464
476
  request: ModeBase.ChangeToModeRequest;
465
477
  cluster: 'deviceEnergyManagementMode';
466
- attributes: (typeof DeviceEnergyManagementMode.Complete)['attributes'];
478
+ attributes: ClusterAttributeValues<(typeof DeviceEnergyManagementMode.Complete)['attributes']>;
467
479
  endpoint: MatterbridgeEndpoint;
468
480
  };
469
481
  'open': CommandHandlerData<'ValveConfigurationAndControl.open'>;
@@ -472,14 +484,14 @@ export type CommandHandlerDataMap = {
472
484
  command: 'open';
473
485
  request: ValveConfigurationAndControl.OpenRequest;
474
486
  cluster: 'valveConfigurationAndControl';
475
- attributes: (typeof ValveConfigurationAndControl.Complete)['attributes'];
487
+ attributes: ClusterAttributeValues<(typeof ValveConfigurationAndControl.Complete)['attributes']>;
476
488
  endpoint: MatterbridgeEndpoint;
477
489
  };
478
490
  'ValveConfigurationAndControl.close': {
479
491
  command: 'close';
480
492
  request: {};
481
493
  cluster: 'valveConfigurationAndControl';
482
- attributes: (typeof ValveConfigurationAndControl.Complete)['attributes'];
494
+ attributes: ClusterAttributeValues<(typeof ValveConfigurationAndControl.Complete)['attributes']>;
483
495
  endpoint: MatterbridgeEndpoint;
484
496
  };
485
497
  'suppressAlarm': CommandHandlerData<'BooleanStateConfiguration.suppressAlarm'>;
@@ -488,14 +500,14 @@ export type CommandHandlerDataMap = {
488
500
  command: 'suppressAlarm';
489
501
  request: BooleanStateConfiguration.SuppressAlarmRequest;
490
502
  cluster: 'booleanStateConfiguration';
491
- attributes: (typeof BooleanStateConfiguration.Complete)['attributes'];
503
+ attributes: ClusterAttributeValues<(typeof BooleanStateConfiguration.Complete)['attributes']>;
492
504
  endpoint: MatterbridgeEndpoint;
493
505
  };
494
506
  'BooleanStateConfiguration.enableDisableAlarm': {
495
507
  command: 'enableDisableAlarm';
496
508
  request: BooleanStateConfiguration.EnableDisableAlarmRequest;
497
509
  cluster: 'booleanStateConfiguration';
498
- attributes: (typeof BooleanStateConfiguration.Complete)['attributes'];
510
+ attributes: ClusterAttributeValues<(typeof BooleanStateConfiguration.Complete)['attributes']>;
499
511
  endpoint: MatterbridgeEndpoint;
500
512
  };
501
513
  'selfTestRequest': CommandHandlerData<'SmokeCoAlarm.selfTestRequest'>;
@@ -503,7 +515,7 @@ export type CommandHandlerDataMap = {
503
515
  command: 'selfTestRequest';
504
516
  request: {};
505
517
  cluster: 'smokeCoAlarm';
506
- attributes: (typeof SmokeCoAlarm.Complete)['attributes'];
518
+ attributes: ClusterAttributeValues<(typeof SmokeCoAlarm.Complete)['attributes']>;
507
519
  endpoint: MatterbridgeEndpoint;
508
520
  };
509
521
  'resetCounts': CommandHandlerData<'ThreadNetworkDiagnostics.resetCounts'>;
@@ -511,7 +523,7 @@ export type CommandHandlerDataMap = {
511
523
  command: 'resetCounts';
512
524
  request: {};
513
525
  cluster: 'threadNetworkDiagnostics';
514
- attributes: (typeof ThreadNetworkDiagnostics.Complete)['attributes'];
526
+ attributes: ClusterAttributeValues<(typeof ThreadNetworkDiagnostics.Complete)['attributes']>;
515
527
  endpoint: MatterbridgeEndpoint;
516
528
  };
517
529
  'setUtcTime': CommandHandlerData<'TimeSynchronization.setUtcTime'>;
@@ -521,21 +533,21 @@ export type CommandHandlerDataMap = {
521
533
  command: 'setUtcTime';
522
534
  request: TimeSynchronization.SetUtcTimeRequest;
523
535
  cluster: 'timeSynchronization';
524
- attributes: (typeof TimeSynchronization.Complete)['attributes'];
536
+ attributes: ClusterAttributeValues<(typeof TimeSynchronization.Complete)['attributes']>;
525
537
  endpoint: MatterbridgeEndpoint;
526
538
  };
527
539
  'TimeSynchronization.setTimeZone': {
528
540
  command: 'setTimeZone';
529
541
  request: TimeSynchronization.SetTimeZoneRequest;
530
542
  cluster: 'timeSynchronization';
531
- attributes: (typeof TimeSynchronization.Complete)['attributes'];
543
+ attributes: ClusterAttributeValues<(typeof TimeSynchronization.Complete)['attributes']>;
532
544
  endpoint: MatterbridgeEndpoint;
533
545
  };
534
546
  'TimeSynchronization.setDstOffset': {
535
547
  command: 'setDstOffset';
536
548
  request: TimeSynchronization.SetDstOffsetRequest;
537
549
  cluster: 'timeSynchronization';
538
- attributes: (typeof TimeSynchronization.Complete)['attributes'];
550
+ attributes: ClusterAttributeValues<(typeof TimeSynchronization.Complete)['attributes']>;
539
551
  endpoint: MatterbridgeEndpoint;
540
552
  };
541
553
  'pauseRequest': CommandHandlerData<'DeviceEnergyManagement.pauseRequest'>;
@@ -546,28 +558,28 @@ export type CommandHandlerDataMap = {
546
558
  command: 'pauseRequest';
547
559
  request: DeviceEnergyManagement.PauseRequest;
548
560
  cluster: 'deviceEnergyManagement';
549
- attributes: (typeof DeviceEnergyManagement.Complete)['attributes'];
561
+ attributes: ClusterAttributeValues<(typeof DeviceEnergyManagement.Complete)['attributes']>;
550
562
  endpoint: MatterbridgeEndpoint;
551
563
  };
552
564
  'DeviceEnergyManagement.resumeRequest': {
553
565
  command: 'resumeRequest';
554
566
  request: {};
555
567
  cluster: 'deviceEnergyManagement';
556
- attributes: (typeof DeviceEnergyManagement.Complete)['attributes'];
568
+ attributes: ClusterAttributeValues<(typeof DeviceEnergyManagement.Complete)['attributes']>;
557
569
  endpoint: MatterbridgeEndpoint;
558
570
  };
559
571
  'DeviceEnergyManagement.powerAdjustRequest': {
560
572
  command: 'powerAdjustRequest';
561
573
  request: DeviceEnergyManagement.PowerAdjustRequest;
562
574
  cluster: 'deviceEnergyManagement';
563
- attributes: (typeof DeviceEnergyManagement.Complete)['attributes'];
575
+ attributes: ClusterAttributeValues<(typeof DeviceEnergyManagement.Complete)['attributes']>;
564
576
  endpoint: MatterbridgeEndpoint;
565
577
  };
566
578
  'DeviceEnergyManagement.cancelPowerAdjustRequest': {
567
579
  command: 'cancelPowerAdjustRequest';
568
580
  request: {};
569
581
  cluster: 'deviceEnergyManagement';
570
- attributes: (typeof DeviceEnergyManagement.Complete)['attributes'];
582
+ attributes: ClusterAttributeValues<(typeof DeviceEnergyManagement.Complete)['attributes']>;
571
583
  endpoint: MatterbridgeEndpoint;
572
584
  };
573
585
  'pause': CommandHandlerData<'OperationalState.pause'>;
@@ -578,28 +590,28 @@ export type CommandHandlerDataMap = {
578
590
  command: 'pause';
579
591
  request: {};
580
592
  cluster: 'operationalState';
581
- attributes: (typeof OperationalState.Complete)['attributes'];
593
+ attributes: ClusterAttributeValues<(typeof OperationalState.Complete)['attributes']>;
582
594
  endpoint: MatterbridgeEndpoint;
583
595
  };
584
596
  'OperationalState.stop': {
585
597
  command: 'stop';
586
598
  request: {};
587
599
  cluster: 'operationalState';
588
- attributes: (typeof OperationalState.Complete)['attributes'];
600
+ attributes: ClusterAttributeValues<(typeof OperationalState.Complete)['attributes']>;
589
601
  endpoint: MatterbridgeEndpoint;
590
602
  };
591
603
  'OperationalState.start': {
592
604
  command: 'start';
593
605
  request: {};
594
606
  cluster: 'operationalState';
595
- attributes: (typeof OperationalState.Complete)['attributes'];
607
+ attributes: ClusterAttributeValues<(typeof OperationalState.Complete)['attributes']>;
596
608
  endpoint: MatterbridgeEndpoint;
597
609
  };
598
610
  'OperationalState.resume': {
599
611
  command: 'resume';
600
612
  request: {};
601
613
  cluster: 'operationalState';
602
- attributes: (typeof OperationalState.Complete)['attributes'];
614
+ attributes: ClusterAttributeValues<(typeof OperationalState.Complete)['attributes']>;
603
615
  endpoint: MatterbridgeEndpoint;
604
616
  };
605
617
  'goHome': CommandHandlerData<'RvcOperationalState.goHome'>;
@@ -607,21 +619,21 @@ export type CommandHandlerDataMap = {
607
619
  command: 'pause';
608
620
  request: {};
609
621
  cluster: 'rvcOperationalState';
610
- attributes: (typeof RvcOperationalState.Complete)['attributes'];
622
+ attributes: ClusterAttributeValues<(typeof RvcOperationalState.Complete)['attributes']>;
611
623
  endpoint: MatterbridgeEndpoint;
612
624
  };
613
625
  'RvcOperationalState.resume': {
614
626
  command: 'resume';
615
627
  request: {};
616
628
  cluster: 'rvcOperationalState';
617
- attributes: (typeof RvcOperationalState.Complete)['attributes'];
629
+ attributes: ClusterAttributeValues<(typeof RvcOperationalState.Complete)['attributes']>;
618
630
  endpoint: MatterbridgeEndpoint;
619
631
  };
620
632
  'RvcOperationalState.goHome': {
621
633
  command: 'goHome';
622
634
  request: {};
623
635
  cluster: 'rvcOperationalState';
624
- attributes: (typeof RvcOperationalState.Complete)['attributes'];
636
+ attributes: ClusterAttributeValues<(typeof RvcOperationalState.Complete)['attributes']>;
625
637
  endpoint: MatterbridgeEndpoint;
626
638
  };
627
639
  'selectAreas': CommandHandlerData<'ServiceArea.selectAreas'>;
@@ -629,7 +641,7 @@ export type CommandHandlerDataMap = {
629
641
  command: 'selectAreas';
630
642
  request: ServiceArea.SelectAreasRequest;
631
643
  cluster: 'serviceArea';
632
- attributes: (typeof ServiceArea.Complete)['attributes'];
644
+ attributes: ClusterAttributeValues<(typeof ServiceArea.Complete)['attributes']>;
633
645
  endpoint: MatterbridgeEndpoint;
634
646
  };
635
647
  'boost': CommandHandlerData<'WaterHeaterManagement.boost'>;
@@ -638,14 +650,14 @@ export type CommandHandlerDataMap = {
638
650
  command: 'boost';
639
651
  request: WaterHeaterManagement.BoostRequest;
640
652
  cluster: 'waterHeaterManagement';
641
- attributes: (typeof WaterHeaterManagement.Complete)['attributes'];
653
+ attributes: ClusterAttributeValues<(typeof WaterHeaterManagement.Complete)['attributes']>;
642
654
  endpoint: MatterbridgeEndpoint;
643
655
  };
644
656
  'WaterHeaterManagement.cancelBoost': {
645
657
  command: 'cancelBoost';
646
658
  request: {};
647
659
  cluster: 'waterHeaterManagement';
648
- attributes: (typeof WaterHeaterManagement.Complete)['attributes'];
660
+ attributes: ClusterAttributeValues<(typeof WaterHeaterManagement.Complete)['attributes']>;
649
661
  endpoint: MatterbridgeEndpoint;
650
662
  };
651
663
  'enableCharging': CommandHandlerData<'EnergyEvse.enableCharging'>;
@@ -657,35 +669,35 @@ export type CommandHandlerDataMap = {
657
669
  command: 'enableCharging';
658
670
  request: EnergyEvse.EnableChargingRequest;
659
671
  cluster: 'energyEvse';
660
- attributes: (typeof EnergyEvse.Complete)['attributes'];
672
+ attributes: ClusterAttributeValues<(typeof EnergyEvse.Complete)['attributes']>;
661
673
  endpoint: MatterbridgeEndpoint;
662
674
  };
663
675
  'EnergyEvse.disable': {
664
676
  command: 'disable';
665
677
  request: {};
666
678
  cluster: 'energyEvse';
667
- attributes: (typeof EnergyEvse.Complete)['attributes'];
679
+ attributes: ClusterAttributeValues<(typeof EnergyEvse.Complete)['attributes']>;
668
680
  endpoint: MatterbridgeEndpoint;
669
681
  };
670
682
  'EnergyEvse.setTargets': {
671
683
  command: 'setTargets';
672
684
  request: EnergyEvse.SetTargetsRequest;
673
685
  cluster: 'energyEvse';
674
- attributes: (typeof EnergyEvse.Complete)['attributes'];
686
+ attributes: ClusterAttributeValues<(typeof EnergyEvse.Complete)['attributes']>;
675
687
  endpoint: MatterbridgeEndpoint;
676
688
  };
677
689
  'EnergyEvse.getTargets': {
678
690
  command: 'getTargets';
679
691
  request: {};
680
692
  cluster: 'energyEvse';
681
- attributes: (typeof EnergyEvse.Complete)['attributes'];
693
+ attributes: ClusterAttributeValues<(typeof EnergyEvse.Complete)['attributes']>;
682
694
  endpoint: MatterbridgeEndpoint;
683
695
  };
684
696
  'EnergyEvse.clearTargets': {
685
697
  command: 'clearTargets';
686
698
  request: {};
687
699
  cluster: 'energyEvse';
688
- attributes: (typeof EnergyEvse.Complete)['attributes'];
700
+ attributes: ClusterAttributeValues<(typeof EnergyEvse.Complete)['attributes']>;
689
701
  endpoint: MatterbridgeEndpoint;
690
702
  };
691
703
  'setTemperature': CommandHandlerData<'TemperatureControl.setTemperature'>;
@@ -693,7 +705,7 @@ export type CommandHandlerDataMap = {
693
705
  command: 'setTemperature';
694
706
  request: TemperatureControl.SetTemperatureRequest;
695
707
  cluster: 'temperatureControl';
696
- attributes: (typeof TemperatureControl.Complete)['attributes'];
708
+ attributes: ClusterAttributeValues<(typeof TemperatureControl.Complete)['attributes']>;
697
709
  endpoint: MatterbridgeEndpoint;
698
710
  };
699
711
  'setCookingParameters': CommandHandlerData<'MicrowaveOvenControl.setCookingParameters'>;
@@ -702,14 +714,14 @@ export type CommandHandlerDataMap = {
702
714
  command: 'setCookingParameters';
703
715
  request: MicrowaveOvenControl.SetCookingParametersRequest;
704
716
  cluster: 'microwaveOvenControl';
705
- attributes: (typeof MicrowaveOvenControl.Complete)['attributes'];
717
+ attributes: ClusterAttributeValues<(typeof MicrowaveOvenControl.Complete)['attributes']>;
706
718
  endpoint: MatterbridgeEndpoint;
707
719
  };
708
720
  'MicrowaveOvenControl.addMoreTime': {
709
721
  command: 'addMoreTime';
710
722
  request: MicrowaveOvenControl.AddMoreTimeRequest;
711
723
  cluster: 'microwaveOvenControl';
712
- attributes: (typeof MicrowaveOvenControl.Complete)['attributes'];
724
+ attributes: ClusterAttributeValues<(typeof MicrowaveOvenControl.Complete)['attributes']>;
713
725
  endpoint: MatterbridgeEndpoint;
714
726
  };
715
727
  'play': CommandHandlerData<'MediaPlayback.play'>;
@@ -721,49 +733,49 @@ export type CommandHandlerDataMap = {
721
733
  command: 'pause';
722
734
  request: {};
723
735
  cluster: 'mediaPlayback';
724
- attributes: (typeof MediaPlayback.Complete)['attributes'];
736
+ attributes: ClusterAttributeValues<(typeof MediaPlayback.Complete)['attributes']>;
725
737
  endpoint: MatterbridgeEndpoint;
726
738
  };
727
739
  'MediaPlayback.stop': {
728
740
  command: 'stop';
729
741
  request: {};
730
742
  cluster: 'mediaPlayback';
731
- attributes: (typeof MediaPlayback.Complete)['attributes'];
743
+ attributes: ClusterAttributeValues<(typeof MediaPlayback.Complete)['attributes']>;
732
744
  endpoint: MatterbridgeEndpoint;
733
745
  };
734
746
  'MediaPlayback.play': {
735
747
  command: 'play';
736
748
  request: {};
737
749
  cluster: 'mediaPlayback';
738
- attributes: (typeof MediaPlayback.Complete)['attributes'];
750
+ attributes: ClusterAttributeValues<(typeof MediaPlayback.Complete)['attributes']>;
739
751
  endpoint: MatterbridgeEndpoint;
740
752
  };
741
753
  'MediaPlayback.previous': {
742
754
  command: 'previous';
743
755
  request: {};
744
756
  cluster: 'mediaPlayback';
745
- attributes: (typeof MediaPlayback.Complete)['attributes'];
757
+ attributes: ClusterAttributeValues<(typeof MediaPlayback.Complete)['attributes']>;
746
758
  endpoint: MatterbridgeEndpoint;
747
759
  };
748
760
  'MediaPlayback.next': {
749
761
  command: 'next';
750
762
  request: {};
751
763
  cluster: 'mediaPlayback';
752
- attributes: (typeof MediaPlayback.Complete)['attributes'];
764
+ attributes: ClusterAttributeValues<(typeof MediaPlayback.Complete)['attributes']>;
753
765
  endpoint: MatterbridgeEndpoint;
754
766
  };
755
767
  'MediaPlayback.skipForward': {
756
768
  command: 'skipForward';
757
769
  request: MediaPlayback.SkipForwardRequest;
758
770
  cluster: 'mediaPlayback';
759
- attributes: (typeof MediaPlayback.Complete)['attributes'];
771
+ attributes: ClusterAttributeValues<(typeof MediaPlayback.Complete)['attributes']>;
760
772
  endpoint: MatterbridgeEndpoint;
761
773
  };
762
774
  'MediaPlayback.skipBackward': {
763
775
  command: 'skipBackward';
764
776
  request: MediaPlayback.SkipBackwardRequest;
765
777
  cluster: 'mediaPlayback';
766
- attributes: (typeof MediaPlayback.Complete)['attributes'];
778
+ attributes: ClusterAttributeValues<(typeof MediaPlayback.Complete)['attributes']>;
767
779
  endpoint: MatterbridgeEndpoint;
768
780
  };
769
781
  'sendKey': CommandHandlerData<'KeypadInput.sendKey'>;
@@ -771,7 +783,7 @@ export type CommandHandlerDataMap = {
771
783
  command: 'sendKey';
772
784
  request: KeypadInput.SendKeyRequest;
773
785
  cluster: 'keypadInput';
774
- attributes: (typeof KeypadInput.Complete)['attributes'];
786
+ attributes: ClusterAttributeValues<(typeof KeypadInput.Complete)['attributes']>;
775
787
  endpoint: MatterbridgeEndpoint;
776
788
  };
777
789
  'resetCondition': CommandHandlerData<'ResourceMonitoring.resetCondition'>;
@@ -779,21 +791,21 @@ export type CommandHandlerDataMap = {
779
791
  command: 'resetCondition';
780
792
  request: {};
781
793
  cluster: 'resourceMonitoring';
782
- attributes: (typeof ResourceMonitoring.Complete)['attributes'];
794
+ attributes: ClusterAttributeValues<(typeof ResourceMonitoring.Complete)['attributes']>;
783
795
  endpoint: MatterbridgeEndpoint;
784
796
  };
785
797
  'HepaFilterMonitoring.resetCondition': {
786
798
  command: 'resetCondition';
787
799
  request: {};
788
800
  cluster: 'hepaFilterMonitoring';
789
- attributes: (typeof HepaFilterMonitoring.Complete)['attributes'];
801
+ attributes: ClusterAttributeValues<(typeof HepaFilterMonitoring.Complete)['attributes']>;
790
802
  endpoint: MatterbridgeEndpoint;
791
803
  };
792
804
  'ActivatedCarbonFilterMonitoring.resetCondition': {
793
805
  command: 'resetCondition';
794
806
  request: {};
795
807
  cluster: 'activatedCarbonFilterMonitoring';
796
- attributes: (typeof ActivatedCarbonFilterMonitoring.Complete)['attributes'];
808
+ attributes: ClusterAttributeValues<(typeof ActivatedCarbonFilterMonitoring.Complete)['attributes']>;
797
809
  endpoint: MatterbridgeEndpoint;
798
810
  };
799
811
  };
@@ -804,3 +816,4 @@ export declare class CommandHandler {
804
816
  executeHandler<K extends CommandHandlers>(command: K, ...args: Parameters<CommandHandlerFunction<K>>): Promise<void>;
805
817
  removeHandler<K extends CommandHandlers>(command: K, handler: CommandHandlerFunction<K>): void;
806
818
  }
819
+ export {};