@matter/types 0.16.0-alpha.0-20250820-24939dd26 → 0.16.0-alpha.0-20250821-dd03e1003
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/cluster/Cluster.d.ts +11 -11
- package/dist/cjs/cluster/Cluster.d.ts.map +1 -1
- package/dist/cjs/cluster/Cluster.js +3 -7
- package/dist/cjs/cluster/Cluster.js.map +2 -2
- package/dist/cjs/clusters/access-control.d.ts.map +1 -1
- package/dist/cjs/clusters/access-control.js +4 -3
- package/dist/cjs/clusters/access-control.js.map +1 -1
- package/dist/cjs/clusters/account-login.d.ts.map +1 -1
- package/dist/cjs/clusters/account-login.js +2 -6
- package/dist/cjs/clusters/account-login.js.map +1 -1
- package/dist/cjs/clusters/actions.d.ts.map +1 -1
- package/dist/cjs/clusters/actions.js +3 -2
- package/dist/cjs/clusters/actions.js.map +1 -1
- package/dist/cjs/clusters/alarm-base.d.ts.map +1 -1
- package/dist/cjs/clusters/alarm-base.js +2 -1
- package/dist/cjs/clusters/alarm-base.js.map +1 -1
- package/dist/cjs/clusters/basic-information.d.ts.map +1 -1
- package/dist/cjs/clusters/basic-information.js +5 -4
- package/dist/cjs/clusters/basic-information.js.map +1 -1
- package/dist/cjs/clusters/boolean-state-configuration.d.ts.map +1 -1
- package/dist/cjs/clusters/boolean-state-configuration.js +3 -2
- package/dist/cjs/clusters/boolean-state-configuration.js.map +1 -1
- package/dist/cjs/clusters/boolean-state.d.ts.map +1 -1
- package/dist/cjs/clusters/boolean-state.js +2 -1
- package/dist/cjs/clusters/boolean-state.js.map +1 -1
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts.map +1 -1
- package/dist/cjs/clusters/bridged-device-basic-information.js +6 -5
- package/dist/cjs/clusters/bridged-device-basic-information.js.map +1 -1
- package/dist/cjs/clusters/commissioner-control.d.ts.map +1 -1
- package/dist/cjs/clusters/commissioner-control.js +2 -1
- package/dist/cjs/clusters/commissioner-control.js.map +1 -1
- package/dist/cjs/clusters/content-control.d.ts.map +1 -1
- package/dist/cjs/clusters/content-control.js +3 -2
- package/dist/cjs/clusters/content-control.js.map +1 -1
- package/dist/cjs/clusters/device-energy-management.d.ts.map +1 -1
- package/dist/cjs/clusters/device-energy-management.js +5 -4
- package/dist/cjs/clusters/device-energy-management.js.map +1 -1
- package/dist/cjs/clusters/dishwasher-alarm.d.ts.map +1 -1
- package/dist/cjs/clusters/dishwasher-alarm.js +2 -1
- package/dist/cjs/clusters/dishwasher-alarm.js.map +1 -1
- package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
- package/dist/cjs/clusters/door-lock.js +6 -5
- package/dist/cjs/clusters/door-lock.js.map +1 -1
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts.map +1 -1
- package/dist/cjs/clusters/electrical-energy-measurement.js +3 -2
- package/dist/cjs/clusters/electrical-energy-measurement.js.map +1 -1
- package/dist/cjs/clusters/electrical-power-measurement.d.ts.map +1 -1
- package/dist/cjs/clusters/electrical-power-measurement.js +2 -1
- package/dist/cjs/clusters/electrical-power-measurement.js.map +1 -1
- package/dist/cjs/clusters/energy-evse.d.ts.map +1 -1
- package/dist/cjs/clusters/energy-evse.js +7 -6
- package/dist/cjs/clusters/energy-evse.js.map +1 -1
- package/dist/cjs/clusters/general-diagnostics.d.ts.map +1 -1
- package/dist/cjs/clusters/general-diagnostics.js +5 -4
- package/dist/cjs/clusters/general-diagnostics.js.map +1 -1
- package/dist/cjs/clusters/media-playback.d.ts.map +1 -1
- package/dist/cjs/clusters/media-playback.js +2 -1
- package/dist/cjs/clusters/media-playback.js.map +1 -1
- package/dist/cjs/clusters/messages.d.ts.map +1 -1
- package/dist/cjs/clusters/messages.js +4 -3
- package/dist/cjs/clusters/messages.js.map +1 -1
- package/dist/cjs/clusters/occupancy-sensing.d.ts.map +1 -1
- package/dist/cjs/clusters/occupancy-sensing.js +2 -1
- package/dist/cjs/clusters/occupancy-sensing.js.map +1 -1
- package/dist/cjs/clusters/operational-state.d.ts.map +1 -1
- package/dist/cjs/clusters/operational-state.js +3 -2
- package/dist/cjs/clusters/operational-state.js.map +1 -1
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts.map +1 -1
- package/dist/cjs/clusters/ota-software-update-requestor.js +4 -3
- package/dist/cjs/clusters/ota-software-update-requestor.js.map +1 -1
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts.map +1 -1
- package/dist/cjs/clusters/oven-cavity-operational-state.js +3 -2
- package/dist/cjs/clusters/oven-cavity-operational-state.js.map +1 -1
- package/dist/cjs/clusters/power-source.d.ts.map +1 -1
- package/dist/cjs/clusters/power-source.js +4 -3
- package/dist/cjs/clusters/power-source.js.map +1 -1
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts.map +1 -1
- package/dist/cjs/clusters/pump-configuration-and-control.js +18 -17
- package/dist/cjs/clusters/pump-configuration-and-control.js.map +1 -1
- package/dist/cjs/clusters/refrigerator-alarm.d.ts.map +1 -1
- package/dist/cjs/clusters/refrigerator-alarm.js +2 -1
- package/dist/cjs/clusters/refrigerator-alarm.js.map +1 -1
- package/dist/cjs/clusters/rvc-operational-state.d.ts.map +1 -1
- package/dist/cjs/clusters/rvc-operational-state.js +3 -2
- package/dist/cjs/clusters/rvc-operational-state.js.map +1 -1
- package/dist/cjs/clusters/smoke-co-alarm.d.ts.map +1 -1
- package/dist/cjs/clusters/smoke-co-alarm.js +12 -11
- package/dist/cjs/clusters/smoke-co-alarm.js.map +1 -1
- package/dist/cjs/clusters/software-diagnostics.d.ts.map +1 -1
- package/dist/cjs/clusters/software-diagnostics.js +2 -1
- package/dist/cjs/clusters/software-diagnostics.js.map +1 -1
- package/dist/cjs/clusters/switch.d.ts.map +1 -1
- package/dist/cjs/clusters/switch.js +8 -7
- package/dist/cjs/clusters/switch.js.map +1 -1
- package/dist/cjs/clusters/target-navigator.d.ts.map +1 -1
- package/dist/cjs/clusters/target-navigator.js +2 -1
- package/dist/cjs/clusters/target-navigator.js.map +1 -1
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts.map +1 -1
- package/dist/cjs/clusters/thread-network-diagnostics.js +3 -2
- package/dist/cjs/clusters/thread-network-diagnostics.js.map +1 -1
- package/dist/cjs/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/cjs/clusters/time-synchronization.js +6 -5
- package/dist/cjs/clusters/time-synchronization.js.map +1 -1
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts.map +1 -1
- package/dist/cjs/clusters/valve-configuration-and-control.js +3 -2
- package/dist/cjs/clusters/valve-configuration-and-control.js.map +1 -1
- package/dist/cjs/clusters/water-heater-management.d.ts.map +1 -1
- package/dist/cjs/clusters/water-heater-management.js +3 -2
- package/dist/cjs/clusters/water-heater-management.js.map +1 -1
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts.map +1 -1
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js +4 -3
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js.map +1 -1
- package/dist/cjs/protocol/messages/TlvDataReport.d.ts +1 -1
- package/dist/cjs/protocol/types/TlvEventData.d.ts +2 -2
- package/dist/cjs/protocol/types/TlvEventData.d.ts.map +1 -1
- package/dist/cjs/protocol/types/TlvEventData.js.map +1 -1
- package/dist/cjs/protocol/types/TlvEventReport.d.ts +1 -1
- package/dist/esm/cluster/Cluster.d.ts +11 -11
- package/dist/esm/cluster/Cluster.d.ts.map +1 -1
- package/dist/esm/cluster/Cluster.js +3 -7
- package/dist/esm/cluster/Cluster.js.map +2 -2
- package/dist/esm/clusters/access-control.d.ts.map +1 -1
- package/dist/esm/clusters/access-control.js +4 -4
- package/dist/esm/clusters/access-control.js.map +1 -1
- package/dist/esm/clusters/account-login.d.ts.map +1 -1
- package/dist/esm/clusters/account-login.js +3 -7
- package/dist/esm/clusters/account-login.js.map +1 -1
- package/dist/esm/clusters/actions.d.ts.map +1 -1
- package/dist/esm/clusters/actions.js +4 -10
- package/dist/esm/clusters/actions.js.map +1 -1
- package/dist/esm/clusters/alarm-base.d.ts.map +1 -1
- package/dist/esm/clusters/alarm-base.js +3 -10
- package/dist/esm/clusters/alarm-base.js.map +1 -1
- package/dist/esm/clusters/basic-information.d.ts.map +1 -1
- package/dist/esm/clusters/basic-information.js +5 -5
- package/dist/esm/clusters/basic-information.js.map +1 -1
- package/dist/esm/clusters/boolean-state-configuration.d.ts.map +1 -1
- package/dist/esm/clusters/boolean-state-configuration.js +3 -3
- package/dist/esm/clusters/boolean-state-configuration.js.map +1 -1
- package/dist/esm/clusters/boolean-state.d.ts.map +1 -1
- package/dist/esm/clusters/boolean-state.js +3 -2
- package/dist/esm/clusters/boolean-state.js.map +1 -1
- package/dist/esm/clusters/bridged-device-basic-information.d.ts.map +1 -1
- package/dist/esm/clusters/bridged-device-basic-information.js +6 -6
- package/dist/esm/clusters/bridged-device-basic-information.js.map +1 -1
- package/dist/esm/clusters/commissioner-control.d.ts.map +1 -1
- package/dist/esm/clusters/commissioner-control.js +3 -2
- package/dist/esm/clusters/commissioner-control.js.map +1 -1
- package/dist/esm/clusters/content-control.d.ts.map +1 -1
- package/dist/esm/clusters/content-control.js +4 -3
- package/dist/esm/clusters/content-control.js.map +1 -1
- package/dist/esm/clusters/device-energy-management.d.ts.map +1 -1
- package/dist/esm/clusters/device-energy-management.js +6 -5
- package/dist/esm/clusters/device-energy-management.js.map +1 -1
- package/dist/esm/clusters/dishwasher-alarm.d.ts.map +1 -1
- package/dist/esm/clusters/dishwasher-alarm.js +3 -10
- package/dist/esm/clusters/dishwasher-alarm.js.map +1 -1
- package/dist/esm/clusters/door-lock.d.ts.map +1 -1
- package/dist/esm/clusters/door-lock.js +6 -6
- package/dist/esm/clusters/door-lock.js.map +1 -1
- package/dist/esm/clusters/electrical-energy-measurement.d.ts.map +1 -1
- package/dist/esm/clusters/electrical-energy-measurement.js +4 -3
- package/dist/esm/clusters/electrical-energy-measurement.js.map +1 -1
- package/dist/esm/clusters/electrical-power-measurement.d.ts.map +1 -1
- package/dist/esm/clusters/electrical-power-measurement.js +3 -2
- package/dist/esm/clusters/electrical-power-measurement.js.map +1 -1
- package/dist/esm/clusters/energy-evse.d.ts.map +1 -1
- package/dist/esm/clusters/energy-evse.js +7 -7
- package/dist/esm/clusters/energy-evse.js.map +1 -1
- package/dist/esm/clusters/general-diagnostics.d.ts.map +1 -1
- package/dist/esm/clusters/general-diagnostics.js +6 -13
- package/dist/esm/clusters/general-diagnostics.js.map +1 -1
- package/dist/esm/clusters/media-playback.d.ts.map +1 -1
- package/dist/esm/clusters/media-playback.js +3 -9
- package/dist/esm/clusters/media-playback.js.map +1 -1
- package/dist/esm/clusters/messages.d.ts.map +1 -1
- package/dist/esm/clusters/messages.js +5 -4
- package/dist/esm/clusters/messages.js.map +1 -1
- package/dist/esm/clusters/occupancy-sensing.d.ts.map +1 -1
- package/dist/esm/clusters/occupancy-sensing.js +3 -3
- package/dist/esm/clusters/occupancy-sensing.js.map +1 -1
- package/dist/esm/clusters/operational-state.d.ts.map +1 -1
- package/dist/esm/clusters/operational-state.js +4 -10
- package/dist/esm/clusters/operational-state.js.map +1 -1
- package/dist/esm/clusters/ota-software-update-requestor.d.ts.map +1 -1
- package/dist/esm/clusters/ota-software-update-requestor.js +5 -11
- package/dist/esm/clusters/ota-software-update-requestor.js.map +1 -1
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts.map +1 -1
- package/dist/esm/clusters/oven-cavity-operational-state.js +4 -3
- package/dist/esm/clusters/oven-cavity-operational-state.js.map +1 -1
- package/dist/esm/clusters/power-source.d.ts.map +1 -1
- package/dist/esm/clusters/power-source.js +4 -4
- package/dist/esm/clusters/power-source.js.map +1 -1
- package/dist/esm/clusters/pump-configuration-and-control.d.ts.map +1 -1
- package/dist/esm/clusters/pump-configuration-and-control.js +19 -19
- package/dist/esm/clusters/pump-configuration-and-control.js.map +1 -1
- package/dist/esm/clusters/refrigerator-alarm.d.ts.map +1 -1
- package/dist/esm/clusters/refrigerator-alarm.js +3 -2
- package/dist/esm/clusters/refrigerator-alarm.js.map +1 -1
- package/dist/esm/clusters/rvc-operational-state.d.ts.map +1 -1
- package/dist/esm/clusters/rvc-operational-state.js +4 -11
- package/dist/esm/clusters/rvc-operational-state.js.map +1 -1
- package/dist/esm/clusters/smoke-co-alarm.d.ts.map +1 -1
- package/dist/esm/clusters/smoke-co-alarm.js +12 -12
- package/dist/esm/clusters/smoke-co-alarm.js.map +1 -1
- package/dist/esm/clusters/software-diagnostics.d.ts.map +1 -1
- package/dist/esm/clusters/software-diagnostics.js +3 -9
- package/dist/esm/clusters/software-diagnostics.js.map +1 -1
- package/dist/esm/clusters/switch.d.ts.map +1 -1
- package/dist/esm/clusters/switch.js +9 -8
- package/dist/esm/clusters/switch.js.map +1 -1
- package/dist/esm/clusters/target-navigator.d.ts.map +1 -1
- package/dist/esm/clusters/target-navigator.js +3 -2
- package/dist/esm/clusters/target-navigator.js.map +1 -1
- package/dist/esm/clusters/thread-network-diagnostics.d.ts.map +1 -1
- package/dist/esm/clusters/thread-network-diagnostics.js +4 -10
- package/dist/esm/clusters/thread-network-diagnostics.js.map +1 -1
- package/dist/esm/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/esm/clusters/time-synchronization.js +7 -14
- package/dist/esm/clusters/time-synchronization.js.map +1 -1
- package/dist/esm/clusters/valve-configuration-and-control.d.ts.map +1 -1
- package/dist/esm/clusters/valve-configuration-and-control.js +4 -4
- package/dist/esm/clusters/valve-configuration-and-control.js.map +1 -1
- package/dist/esm/clusters/water-heater-management.d.ts.map +1 -1
- package/dist/esm/clusters/water-heater-management.js +4 -3
- package/dist/esm/clusters/water-heater-management.js.map +1 -1
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts.map +1 -1
- package/dist/esm/clusters/wi-fi-network-diagnostics.js +5 -11
- package/dist/esm/clusters/wi-fi-network-diagnostics.js.map +1 -1
- package/dist/esm/protocol/messages/TlvDataReport.d.ts +1 -1
- package/dist/esm/protocol/types/TlvEventData.d.ts +2 -2
- package/dist/esm/protocol/types/TlvEventData.d.ts.map +1 -1
- package/dist/esm/protocol/types/TlvEventData.js.map +1 -1
- package/dist/esm/protocol/types/TlvEventReport.d.ts +1 -1
- package/package.json +5 -5
- package/src/cluster/Cluster.ts +13 -12
- package/src/clusters/access-control.ts +4 -4
- package/src/clusters/account-login.ts +3 -7
- package/src/clusters/actions.ts +4 -10
- package/src/clusters/alarm-base.ts +3 -10
- package/src/clusters/basic-information.ts +5 -5
- package/src/clusters/boolean-state-configuration.ts +3 -3
- package/src/clusters/boolean-state.ts +3 -2
- package/src/clusters/bridged-device-basic-information.ts +6 -6
- package/src/clusters/commissioner-control.ts +3 -2
- package/src/clusters/content-control.ts +4 -3
- package/src/clusters/device-energy-management.ts +6 -5
- package/src/clusters/dishwasher-alarm.ts +3 -10
- package/src/clusters/door-lock.ts +6 -6
- package/src/clusters/electrical-energy-measurement.ts +4 -3
- package/src/clusters/electrical-power-measurement.ts +3 -2
- package/src/clusters/energy-evse.ts +7 -7
- package/src/clusters/general-diagnostics.ts +6 -13
- package/src/clusters/media-playback.ts +3 -9
- package/src/clusters/messages.ts +5 -4
- package/src/clusters/occupancy-sensing.ts +3 -3
- package/src/clusters/operational-state.ts +4 -10
- package/src/clusters/ota-software-update-requestor.ts +5 -11
- package/src/clusters/oven-cavity-operational-state.ts +4 -3
- package/src/clusters/power-source.ts +4 -4
- package/src/clusters/pump-configuration-and-control.ts +19 -19
- package/src/clusters/refrigerator-alarm.ts +3 -2
- package/src/clusters/rvc-operational-state.ts +4 -11
- package/src/clusters/smoke-co-alarm.ts +12 -12
- package/src/clusters/software-diagnostics.ts +3 -9
- package/src/clusters/switch.ts +9 -8
- package/src/clusters/target-navigator.ts +3 -2
- package/src/clusters/thread-network-diagnostics.ts +4 -10
- package/src/clusters/time-synchronization.ts +7 -14
- package/src/clusters/valve-configuration-and-control.ts +4 -4
- package/src/clusters/water-heater-management.ts +4 -3
- package/src/clusters/wi-fi-network-diagnostics.ts +5 -11
- package/src/protocol/types/TlvEventData.ts +2 -2
package/src/clusters/messages.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
10
10
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
11
|
-
import { FabricScopedAttribute, Attribute, Command, TlvNoResponse, Event
|
|
11
|
+
import { FabricScopedAttribute, Attribute, Command, TlvNoResponse, Event } from "../cluster/Cluster.js";
|
|
12
12
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
13
13
|
import { TlvField, TlvOptionalField, TlvObject } from "../tlv/TlvObject.js";
|
|
14
14
|
import { TlvByteString, TlvString } from "../tlv/TlvString.js";
|
|
@@ -16,6 +16,7 @@ import { TlvEnum, TlvUInt16, TlvBitmap, TlvEpochS, TlvUInt64, TlvUInt32 } from "
|
|
|
16
16
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
17
17
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
18
18
|
import { TlvFabricIndex } from "../datatype/FabricIndex.js";
|
|
19
|
+
import { Priority } from "../globals/Priority.js";
|
|
19
20
|
import { Identity } from "#general";
|
|
20
21
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
21
22
|
|
|
@@ -578,14 +579,14 @@ export namespace Messages {
|
|
|
578
579
|
*
|
|
579
580
|
* @see {@link MatterSpecification.v141.Cluster} § 1.16.8.1
|
|
580
581
|
*/
|
|
581
|
-
messageQueued: Event(0x0,
|
|
582
|
+
messageQueued: Event(0x0, Priority.Info, TlvMessageQueuedEvent),
|
|
582
583
|
|
|
583
584
|
/**
|
|
584
585
|
* This event shall be generated when the message is presented to the user.
|
|
585
586
|
*
|
|
586
587
|
* @see {@link MatterSpecification.v141.Cluster} § 1.16.8.2
|
|
587
588
|
*/
|
|
588
|
-
messagePresented: Event(0x1,
|
|
589
|
+
messagePresented: Event(0x1, Priority.Info, TlvMessagePresentedEvent),
|
|
589
590
|
|
|
590
591
|
/**
|
|
591
592
|
* This event shall be generated when the message is confirmed by the user, or when the Duration of the
|
|
@@ -593,7 +594,7 @@ export namespace Messages {
|
|
|
593
594
|
*
|
|
594
595
|
* @see {@link MatterSpecification.v141.Cluster} § 1.16.8.3
|
|
595
596
|
*/
|
|
596
|
-
messageComplete: Event(0x2,
|
|
597
|
+
messageComplete: Event(0x2, Priority.Info, TlvMessageCompleteEvent)
|
|
597
598
|
},
|
|
598
599
|
|
|
599
600
|
/**
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
Attribute,
|
|
13
13
|
FixedAttribute,
|
|
14
14
|
OptionalFixedAttribute,
|
|
15
|
-
OptionalEvent
|
|
16
|
-
EventPriority
|
|
15
|
+
OptionalEvent
|
|
17
16
|
} from "../cluster/Cluster.js";
|
|
18
17
|
import { TlvUInt16, TlvUInt8, TlvBitmap, TlvEnum } from "../tlv/TlvNumber.js";
|
|
19
18
|
import { AccessLevel } from "#model";
|
|
20
19
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
21
20
|
import { TlvField, TlvObject } from "../tlv/TlvObject.js";
|
|
22
21
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
22
|
+
import { Priority } from "../globals/Priority.js";
|
|
23
23
|
import { Identity } from "#general";
|
|
24
24
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
25
25
|
|
|
@@ -459,7 +459,7 @@ export namespace OccupancySensing {
|
|
|
459
459
|
*
|
|
460
460
|
* @see {@link MatterSpecification.v141.Cluster} § 2.7.7.1
|
|
461
461
|
*/
|
|
462
|
-
occupancyChanged: OptionalEvent(0x0,
|
|
462
|
+
occupancyChanged: OptionalEvent(0x0, Priority.Info, TlvOccupancyChangedEvent)
|
|
463
463
|
},
|
|
464
464
|
|
|
465
465
|
/**
|
|
@@ -7,14 +7,7 @@
|
|
|
7
7
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
8
8
|
|
|
9
9
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
10
|
-
import {
|
|
11
|
-
Attribute,
|
|
12
|
-
OptionalAttribute,
|
|
13
|
-
OptionalCommand,
|
|
14
|
-
Event,
|
|
15
|
-
EventPriority,
|
|
16
|
-
OptionalEvent
|
|
17
|
-
} from "../cluster/Cluster.js";
|
|
10
|
+
import { Attribute, OptionalAttribute, OptionalCommand, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
18
11
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
19
12
|
import { TlvString } from "../tlv/TlvString.js";
|
|
20
13
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
@@ -22,6 +15,7 @@ import { TlvUInt8, TlvUInt32, TlvEnum } from "../tlv/TlvNumber.js";
|
|
|
22
15
|
import { TlvField, TlvOptionalField, TlvObject } from "../tlv/TlvObject.js";
|
|
23
16
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
24
17
|
import { TlvNoArguments } from "../tlv/TlvNoArguments.js";
|
|
18
|
+
import { Priority } from "../globals/Priority.js";
|
|
25
19
|
import { Identity } from "#general";
|
|
26
20
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
27
21
|
|
|
@@ -510,7 +504,7 @@ export namespace OperationalState {
|
|
|
510
504
|
*
|
|
511
505
|
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.1
|
|
512
506
|
*/
|
|
513
|
-
operationalError: Event(0x0,
|
|
507
|
+
operationalError: Event(0x0, Priority.Critical, TlvOperationalErrorEvent),
|
|
514
508
|
|
|
515
509
|
/**
|
|
516
510
|
* This event SHOULD be generated when the overall operation ends, successfully or otherwise. For example,
|
|
@@ -525,7 +519,7 @@ export namespace OperationalState {
|
|
|
525
519
|
*
|
|
526
520
|
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.2
|
|
527
521
|
*/
|
|
528
|
-
operationCompletion: OptionalEvent(0x1,
|
|
522
|
+
operationCompletion: OptionalEvent(0x1, Priority.Info, TlvOperationCompletionEvent)
|
|
529
523
|
}
|
|
530
524
|
});
|
|
531
525
|
|
|
@@ -7,14 +7,7 @@
|
|
|
7
7
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
8
8
|
|
|
9
9
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
10
|
-
import {
|
|
11
|
-
WritableFabricScopedAttribute,
|
|
12
|
-
Attribute,
|
|
13
|
-
OptionalCommand,
|
|
14
|
-
TlvNoResponse,
|
|
15
|
-
Event,
|
|
16
|
-
EventPriority
|
|
17
|
-
} from "../cluster/Cluster.js";
|
|
10
|
+
import { WritableFabricScopedAttribute, Attribute, OptionalCommand, TlvNoResponse, Event } from "../cluster/Cluster.js";
|
|
18
11
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
19
12
|
import { TlvField, TlvObject, TlvOptionalField } from "../tlv/TlvObject.js";
|
|
20
13
|
import { TlvNodeId } from "../datatype/NodeId.js";
|
|
@@ -27,6 +20,7 @@ import { TlvEnum, TlvUInt8, TlvUInt32, TlvUInt16, TlvUInt64, TlvInt64 } from "..
|
|
|
27
20
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
28
21
|
import { TlvVendorId } from "../datatype/VendorId.js";
|
|
29
22
|
import { TlvByteString } from "../tlv/TlvString.js";
|
|
23
|
+
import { Priority } from "../globals/Priority.js";
|
|
30
24
|
import { Identity } from "#general";
|
|
31
25
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
32
26
|
|
|
@@ -557,7 +551,7 @@ export namespace OtaSoftwareUpdateRequestor {
|
|
|
557
551
|
*
|
|
558
552
|
* @see {@link MatterSpecification.v141.Core} § 11.20.7.7.1
|
|
559
553
|
*/
|
|
560
|
-
stateTransition: Event(0x0,
|
|
554
|
+
stateTransition: Event(0x0, Priority.Info, TlvStateTransitionEvent),
|
|
561
555
|
|
|
562
556
|
/**
|
|
563
557
|
* This event shall be generated whenever a new version starts executing after being applied due to a
|
|
@@ -566,14 +560,14 @@ export namespace OtaSoftwareUpdateRequestor {
|
|
|
566
560
|
*
|
|
567
561
|
* @see {@link MatterSpecification.v141.Core} § 11.20.7.7.2
|
|
568
562
|
*/
|
|
569
|
-
versionApplied: Event(0x1,
|
|
563
|
+
versionApplied: Event(0x1, Priority.Critical, TlvVersionAppliedEvent),
|
|
570
564
|
|
|
571
565
|
/**
|
|
572
566
|
* This event shall be generated whenever an error occurs during OTA Requestor download operation.
|
|
573
567
|
*
|
|
574
568
|
* @see {@link MatterSpecification.v141.Core} § 11.20.7.7.3
|
|
575
569
|
*/
|
|
576
|
-
downloadError: Event(0x2,
|
|
570
|
+
downloadError: Event(0x2, Priority.Info, TlvDownloadErrorEvent)
|
|
577
571
|
}
|
|
578
572
|
});
|
|
579
573
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
8
8
|
|
|
9
9
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
10
|
-
import { Attribute, OptionalAttribute, Command, Event,
|
|
10
|
+
import { Attribute, OptionalAttribute, Command, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
11
11
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
12
12
|
import { TlvString } from "../tlv/TlvString.js";
|
|
13
13
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
@@ -16,6 +16,7 @@ import { OperationalState } from "./operational-state.js";
|
|
|
16
16
|
import { TlvNoArguments } from "../tlv/TlvNoArguments.js";
|
|
17
17
|
import { TlvField, TlvObject } from "../tlv/TlvObject.js";
|
|
18
18
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
19
|
+
import { Priority } from "../globals/Priority.js";
|
|
19
20
|
import { Identity } from "#general";
|
|
20
21
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
21
22
|
|
|
@@ -161,7 +162,7 @@ export namespace OvenCavityOperationalState {
|
|
|
161
162
|
*
|
|
162
163
|
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.1
|
|
163
164
|
*/
|
|
164
|
-
operationalError: Event(0x0,
|
|
165
|
+
operationalError: Event(0x0, Priority.Critical, OperationalState.TlvOperationalErrorEvent),
|
|
165
166
|
|
|
166
167
|
/**
|
|
167
168
|
* This event SHOULD be generated when the overall operation ends, successfully or otherwise. For example,
|
|
@@ -176,7 +177,7 @@ export namespace OvenCavityOperationalState {
|
|
|
176
177
|
*
|
|
177
178
|
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.2
|
|
178
179
|
*/
|
|
179
|
-
operationCompletion: OptionalEvent(0x1,
|
|
180
|
+
operationCompletion: OptionalEvent(0x1, Priority.Info, OperationalState.TlvOperationCompletionEvent)
|
|
180
181
|
}
|
|
181
182
|
});
|
|
182
183
|
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
FixedAttribute,
|
|
13
13
|
OptionalFixedAttribute,
|
|
14
14
|
OptionalEvent,
|
|
15
|
-
EventPriority,
|
|
16
15
|
Attribute
|
|
17
16
|
} from "../cluster/Cluster.js";
|
|
18
17
|
import { TlvUInt32, TlvUInt16, TlvEnum, TlvUInt8 } from "../tlv/TlvNumber.js";
|
|
19
18
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
20
19
|
import { TlvBoolean } from "../tlv/TlvBoolean.js";
|
|
21
20
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
21
|
+
import { Priority } from "../globals/Priority.js";
|
|
22
22
|
import { TlvField, TlvObject } from "../tlv/TlvObject.js";
|
|
23
23
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
24
24
|
import { TlvString } from "../tlv/TlvString.js";
|
|
@@ -1004,7 +1004,7 @@ export namespace PowerSource {
|
|
|
1004
1004
|
*
|
|
1005
1005
|
* @see {@link MatterSpecification.v141.Core} § 11.7.8.1
|
|
1006
1006
|
*/
|
|
1007
|
-
wiredFaultChange: OptionalEvent(0x0,
|
|
1007
|
+
wiredFaultChange: OptionalEvent(0x0, Priority.Info, TlvWiredFaultChangeEvent)
|
|
1008
1008
|
}
|
|
1009
1009
|
});
|
|
1010
1010
|
|
|
@@ -1109,7 +1109,7 @@ export namespace PowerSource {
|
|
|
1109
1109
|
*
|
|
1110
1110
|
* @see {@link MatterSpecification.v141.Core} § 11.7.8.2
|
|
1111
1111
|
*/
|
|
1112
|
-
batFaultChange: OptionalEvent(0x1,
|
|
1112
|
+
batFaultChange: OptionalEvent(0x1, Priority.Info, TlvBatFaultChangeEvent)
|
|
1113
1113
|
}
|
|
1114
1114
|
});
|
|
1115
1115
|
|
|
@@ -1252,7 +1252,7 @@ export namespace PowerSource {
|
|
|
1252
1252
|
*
|
|
1253
1253
|
* @see {@link MatterSpecification.v141.Core} § 11.7.8.3
|
|
1254
1254
|
*/
|
|
1255
|
-
batChargeFaultChange: OptionalEvent(0x2,
|
|
1255
|
+
batChargeFaultChange: OptionalEvent(0x2, Priority.Info, TlvBatChargeFaultChangeEvent)
|
|
1256
1256
|
}
|
|
1257
1257
|
});
|
|
1258
1258
|
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
Attribute,
|
|
15
15
|
OptionalWritableAttribute,
|
|
16
16
|
WritableAttribute,
|
|
17
|
-
OptionalEvent
|
|
18
|
-
EventPriority
|
|
17
|
+
OptionalEvent
|
|
19
18
|
} from "../cluster/Cluster.js";
|
|
20
19
|
import { TlvInt16, TlvUInt16, TlvBitmap, TlvEnum, TlvUInt24, TlvUInt32 } from "../tlv/TlvNumber.js";
|
|
21
20
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
22
21
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
23
22
|
import { AccessLevel } from "#model";
|
|
23
|
+
import { Priority } from "../globals/Priority.js";
|
|
24
24
|
import { TlvNoArguments } from "../tlv/TlvNoArguments.js";
|
|
25
25
|
import { Identity } from "#general";
|
|
26
26
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
@@ -780,87 +780,87 @@ export namespace PumpConfigurationAndControl {
|
|
|
780
780
|
/**
|
|
781
781
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
782
782
|
*/
|
|
783
|
-
supplyVoltageLow: OptionalEvent(0x0,
|
|
783
|
+
supplyVoltageLow: OptionalEvent(0x0, Priority.Info, TlvNoArguments),
|
|
784
784
|
|
|
785
785
|
/**
|
|
786
786
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
787
787
|
*/
|
|
788
|
-
supplyVoltageHigh: OptionalEvent(0x1,
|
|
788
|
+
supplyVoltageHigh: OptionalEvent(0x1, Priority.Info, TlvNoArguments),
|
|
789
789
|
|
|
790
790
|
/**
|
|
791
791
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
792
792
|
*/
|
|
793
|
-
powerMissingPhase: OptionalEvent(0x2,
|
|
793
|
+
powerMissingPhase: OptionalEvent(0x2, Priority.Info, TlvNoArguments),
|
|
794
794
|
|
|
795
795
|
/**
|
|
796
796
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
797
797
|
*/
|
|
798
|
-
systemPressureLow: OptionalEvent(0x3,
|
|
798
|
+
systemPressureLow: OptionalEvent(0x3, Priority.Info, TlvNoArguments),
|
|
799
799
|
|
|
800
800
|
/**
|
|
801
801
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
802
802
|
*/
|
|
803
|
-
systemPressureHigh: OptionalEvent(0x4,
|
|
803
|
+
systemPressureHigh: OptionalEvent(0x4, Priority.Info, TlvNoArguments),
|
|
804
804
|
|
|
805
805
|
/**
|
|
806
806
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
807
807
|
*/
|
|
808
|
-
dryRunning: OptionalEvent(0x5,
|
|
808
|
+
dryRunning: OptionalEvent(0x5, Priority.Critical, TlvNoArguments),
|
|
809
809
|
|
|
810
810
|
/**
|
|
811
811
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
812
812
|
*/
|
|
813
|
-
motorTemperatureHigh: OptionalEvent(0x6,
|
|
813
|
+
motorTemperatureHigh: OptionalEvent(0x6, Priority.Info, TlvNoArguments),
|
|
814
814
|
|
|
815
815
|
/**
|
|
816
816
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
817
817
|
*/
|
|
818
|
-
pumpMotorFatalFailure: OptionalEvent(0x7,
|
|
818
|
+
pumpMotorFatalFailure: OptionalEvent(0x7, Priority.Critical, TlvNoArguments),
|
|
819
819
|
|
|
820
820
|
/**
|
|
821
821
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
822
822
|
*/
|
|
823
|
-
electronicTemperatureHigh: OptionalEvent(0x8,
|
|
823
|
+
electronicTemperatureHigh: OptionalEvent(0x8, Priority.Info, TlvNoArguments),
|
|
824
824
|
|
|
825
825
|
/**
|
|
826
826
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
827
827
|
*/
|
|
828
|
-
pumpBlocked: OptionalEvent(0x9,
|
|
828
|
+
pumpBlocked: OptionalEvent(0x9, Priority.Critical, TlvNoArguments),
|
|
829
829
|
|
|
830
830
|
/**
|
|
831
831
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
832
832
|
*/
|
|
833
|
-
sensorFailure: OptionalEvent(0xa,
|
|
833
|
+
sensorFailure: OptionalEvent(0xa, Priority.Info, TlvNoArguments),
|
|
834
834
|
|
|
835
835
|
/**
|
|
836
836
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
837
837
|
*/
|
|
838
|
-
electronicNonFatalFailure: OptionalEvent(0xb,
|
|
838
|
+
electronicNonFatalFailure: OptionalEvent(0xb, Priority.Info, TlvNoArguments),
|
|
839
839
|
|
|
840
840
|
/**
|
|
841
841
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
842
842
|
*/
|
|
843
|
-
electronicFatalFailure: OptionalEvent(0xc,
|
|
843
|
+
electronicFatalFailure: OptionalEvent(0xc, Priority.Critical, TlvNoArguments),
|
|
844
844
|
|
|
845
845
|
/**
|
|
846
846
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
847
847
|
*/
|
|
848
|
-
generalFault: OptionalEvent(0xd,
|
|
848
|
+
generalFault: OptionalEvent(0xd, Priority.Info, TlvNoArguments),
|
|
849
849
|
|
|
850
850
|
/**
|
|
851
851
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
852
852
|
*/
|
|
853
|
-
leakage: OptionalEvent(0xe,
|
|
853
|
+
leakage: OptionalEvent(0xe, Priority.Info, TlvNoArguments),
|
|
854
854
|
|
|
855
855
|
/**
|
|
856
856
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
857
857
|
*/
|
|
858
|
-
airDetection: OptionalEvent(0xf,
|
|
858
|
+
airDetection: OptionalEvent(0xf, Priority.Info, TlvNoArguments),
|
|
859
859
|
|
|
860
860
|
/**
|
|
861
861
|
* @see {@link MatterSpecification.v141.Cluster} § 4.2.8
|
|
862
862
|
*/
|
|
863
|
-
turbineOperation: OptionalEvent(0x10,
|
|
863
|
+
turbineOperation: OptionalEvent(0x10, Priority.Info, TlvNoArguments)
|
|
864
864
|
},
|
|
865
865
|
|
|
866
866
|
/**
|
|
@@ -7,11 +7,12 @@
|
|
|
7
7
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
8
8
|
|
|
9
9
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
10
|
-
import { FixedAttribute, Command, TlvNoResponse, Attribute, Event
|
|
10
|
+
import { FixedAttribute, Command, TlvNoResponse, Attribute, Event } from "../cluster/Cluster.js";
|
|
11
11
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
12
12
|
import { TlvUInt32, TlvBitmap } from "../tlv/TlvNumber.js";
|
|
13
13
|
import { TlvField, TlvObject } from "../tlv/TlvObject.js";
|
|
14
14
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
15
|
+
import { Priority } from "../globals/Priority.js";
|
|
15
16
|
import { Identity } from "#general";
|
|
16
17
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
17
18
|
|
|
@@ -182,7 +183,7 @@ export namespace RefrigeratorAlarm {
|
|
|
182
183
|
*
|
|
183
184
|
* @see {@link MatterSpecification.v141.Cluster} § 1.15.8.1
|
|
184
185
|
*/
|
|
185
|
-
notify: Event(0x0,
|
|
186
|
+
notify: Event(0x0, Priority.Info, TlvNotifyEvent)
|
|
186
187
|
},
|
|
187
188
|
|
|
188
189
|
/**
|
|
@@ -7,15 +7,7 @@
|
|
|
7
7
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
8
8
|
|
|
9
9
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
10
|
-
import {
|
|
11
|
-
Attribute,
|
|
12
|
-
OptionalAttribute,
|
|
13
|
-
Command,
|
|
14
|
-
OptionalCommand,
|
|
15
|
-
Event,
|
|
16
|
-
EventPriority,
|
|
17
|
-
OptionalEvent
|
|
18
|
-
} from "../cluster/Cluster.js";
|
|
10
|
+
import { Attribute, OptionalAttribute, Command, OptionalCommand, Event, OptionalEvent } from "../cluster/Cluster.js";
|
|
19
11
|
import { TlvArray } from "../tlv/TlvArray.js";
|
|
20
12
|
import { TlvString } from "../tlv/TlvString.js";
|
|
21
13
|
import { TlvNullable } from "../tlv/TlvNullable.js";
|
|
@@ -24,6 +16,7 @@ import { TlvField, TlvOptionalField, TlvObject } from "../tlv/TlvObject.js";
|
|
|
24
16
|
import { OperationalState as OperationalStateNamespace } from "./operational-state.js";
|
|
25
17
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
26
18
|
import { TlvNoArguments } from "../tlv/TlvNoArguments.js";
|
|
19
|
+
import { Priority } from "../globals/Priority.js";
|
|
27
20
|
import { Identity } from "#general";
|
|
28
21
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
29
22
|
|
|
@@ -399,7 +392,7 @@ export namespace RvcOperationalState {
|
|
|
399
392
|
*
|
|
400
393
|
* @see {@link MatterSpecification.v141.Cluster} § 1.14.7.1
|
|
401
394
|
*/
|
|
402
|
-
operationalError: Event(0x0,
|
|
395
|
+
operationalError: Event(0x0, Priority.Critical, TlvOperationalErrorEvent),
|
|
403
396
|
|
|
404
397
|
/**
|
|
405
398
|
* This event SHOULD be generated when the overall operation ends, successfully or otherwise. For example,
|
|
@@ -416,7 +409,7 @@ export namespace RvcOperationalState {
|
|
|
416
409
|
*/
|
|
417
410
|
operationCompletion: OptionalEvent(
|
|
418
411
|
0x1,
|
|
419
|
-
|
|
412
|
+
Priority.Info,
|
|
420
413
|
OperationalStateNamespace.TlvOperationCompletionEvent
|
|
421
414
|
)
|
|
422
415
|
}
|
|
@@ -12,7 +12,6 @@ import {
|
|
|
12
12
|
OptionalAttribute,
|
|
13
13
|
OptionalWritableAttribute,
|
|
14
14
|
Event,
|
|
15
|
-
EventPriority,
|
|
16
15
|
OptionalEvent,
|
|
17
16
|
OptionalFixedAttribute,
|
|
18
17
|
OptionalCommand,
|
|
@@ -20,6 +19,7 @@ import {
|
|
|
20
19
|
} from "../cluster/Cluster.js";
|
|
21
20
|
import { TlvEnum, TlvEpochS } from "../tlv/TlvNumber.js";
|
|
22
21
|
import { AccessLevel } from "#model";
|
|
22
|
+
import { Priority } from "../globals/Priority.js";
|
|
23
23
|
import { TlvField, TlvObject } from "../tlv/TlvObject.js";
|
|
24
24
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
25
25
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
@@ -439,7 +439,7 @@ export namespace SmokeCoAlarm {
|
|
|
439
439
|
*
|
|
440
440
|
* @see {@link MatterSpecification.v141.Cluster} § 2.11.8.1
|
|
441
441
|
*/
|
|
442
|
-
smokeAlarm: Event(0x0,
|
|
442
|
+
smokeAlarm: Event(0x0, Priority.Critical, TlvSmokeAlarmEvent),
|
|
443
443
|
|
|
444
444
|
/**
|
|
445
445
|
* This event shall be generated when the device hosting the server receives a smoke alarm from an
|
|
@@ -447,7 +447,7 @@ export namespace SmokeCoAlarm {
|
|
|
447
447
|
*
|
|
448
448
|
* @see {@link MatterSpecification.v141.Cluster} § 2.11.8.9
|
|
449
449
|
*/
|
|
450
|
-
interconnectSmokeAlarm: OptionalEvent(0x8,
|
|
450
|
+
interconnectSmokeAlarm: OptionalEvent(0x8, Priority.Critical, TlvInterconnectSmokeAlarmEvent)
|
|
451
451
|
}
|
|
452
452
|
});
|
|
453
453
|
|
|
@@ -470,7 +470,7 @@ export namespace SmokeCoAlarm {
|
|
|
470
470
|
*
|
|
471
471
|
* @see {@link MatterSpecification.v141.Cluster} § 2.11.8.2
|
|
472
472
|
*/
|
|
473
|
-
coAlarm: Event(0x1,
|
|
473
|
+
coAlarm: Event(0x1, Priority.Critical, TlvCoAlarmEvent),
|
|
474
474
|
|
|
475
475
|
/**
|
|
476
476
|
* This event shall be generated when the device hosting the server receives a CO alarm from an
|
|
@@ -478,7 +478,7 @@ export namespace SmokeCoAlarm {
|
|
|
478
478
|
*
|
|
479
479
|
* @see {@link MatterSpecification.v141.Cluster} § 2.11.8.10
|
|
480
480
|
*/
|
|
481
|
-
interconnectCoAlarm: OptionalEvent(0x9,
|
|
481
|
+
interconnectCoAlarm: OptionalEvent(0x9, Priority.Critical, TlvInterconnectCoAlarmEvent)
|
|
482
482
|
}
|
|
483
483
|
});
|
|
484
484
|
|
|
@@ -614,7 +614,7 @@ export namespace SmokeCoAlarm {
|
|
|
614
614
|
*
|
|
615
615
|
* @see {@link MatterSpecification.v141.Cluster} § 2.11.8.3
|
|
616
616
|
*/
|
|
617
|
-
lowBattery: Event(0x2,
|
|
617
|
+
lowBattery: Event(0x2, Priority.Info, TlvLowBatteryEvent),
|
|
618
618
|
|
|
619
619
|
/**
|
|
620
620
|
* This event shall be generated when the device detects a hardware fault that leads to setting
|
|
@@ -622,14 +622,14 @@ export namespace SmokeCoAlarm {
|
|
|
622
622
|
*
|
|
623
623
|
* @see {@link MatterSpecification.v141.Cluster} § 2.11.8.4
|
|
624
624
|
*/
|
|
625
|
-
hardwareFault: Event(0x3,
|
|
625
|
+
hardwareFault: Event(0x3, Priority.Info, TlvNoArguments),
|
|
626
626
|
|
|
627
627
|
/**
|
|
628
628
|
* This event shall be generated when the EndOfServiceAlert is set to Expired.
|
|
629
629
|
*
|
|
630
630
|
* @see {@link MatterSpecification.v141.Cluster} § 2.11.8.5
|
|
631
631
|
*/
|
|
632
|
-
endOfService: Event(0x4,
|
|
632
|
+
endOfService: Event(0x4, Priority.Info, TlvNoArguments),
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
635
|
* This event shall be generated when the SelfTest completes, and the attribute TestInProgress changes to
|
|
@@ -637,28 +637,28 @@ export namespace SmokeCoAlarm {
|
|
|
637
637
|
*
|
|
638
638
|
* @see {@link MatterSpecification.v141.Cluster} § 2.11.8.6
|
|
639
639
|
*/
|
|
640
|
-
selfTestComplete: Event(0x5,
|
|
640
|
+
selfTestComplete: Event(0x5, Priority.Info, TlvNoArguments),
|
|
641
641
|
|
|
642
642
|
/**
|
|
643
643
|
* This event shall be generated when the DeviceMuted attribute changes to Muted.
|
|
644
644
|
*
|
|
645
645
|
* @see {@link MatterSpecification.v141.Cluster} § 2.11.8.7
|
|
646
646
|
*/
|
|
647
|
-
alarmMuted: OptionalEvent(0x6,
|
|
647
|
+
alarmMuted: OptionalEvent(0x6, Priority.Info, TlvNoArguments),
|
|
648
648
|
|
|
649
649
|
/**
|
|
650
650
|
* This event shall be generated when DeviceMuted attribute changes to NotMuted.
|
|
651
651
|
*
|
|
652
652
|
* @see {@link MatterSpecification.v141.Cluster} § 2.11.8.8
|
|
653
653
|
*/
|
|
654
|
-
muteEnded: OptionalEvent(0x7,
|
|
654
|
+
muteEnded: OptionalEvent(0x7, Priority.Info, TlvNoArguments),
|
|
655
655
|
|
|
656
656
|
/**
|
|
657
657
|
* This event shall be generated when ExpressedState attribute returns to Normal state.
|
|
658
658
|
*
|
|
659
659
|
* @see {@link MatterSpecification.v141.Cluster} § 2.11.8.11
|
|
660
660
|
*/
|
|
661
|
-
allClear: Event(0xa,
|
|
661
|
+
allClear: Event(0xa, Priority.Info, TlvNoArguments)
|
|
662
662
|
},
|
|
663
663
|
|
|
664
664
|
/**
|
|
@@ -7,14 +7,7 @@
|
|
|
7
7
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
8
8
|
|
|
9
9
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
10
|
-
import {
|
|
11
|
-
Attribute,
|
|
12
|
-
Command,
|
|
13
|
-
TlvNoResponse,
|
|
14
|
-
OptionalAttribute,
|
|
15
|
-
OptionalEvent,
|
|
16
|
-
EventPriority
|
|
17
|
-
} from "../cluster/Cluster.js";
|
|
10
|
+
import { Attribute, Command, TlvNoResponse, OptionalAttribute, OptionalEvent } from "../cluster/Cluster.js";
|
|
18
11
|
import { TlvUInt64, TlvUInt32 } from "../tlv/TlvNumber.js";
|
|
19
12
|
import { TlvNoArguments } from "../tlv/TlvNoArguments.js";
|
|
20
13
|
import { AccessLevel } from "#model";
|
|
@@ -23,6 +16,7 @@ import { TlvArray } from "../tlv/TlvArray.js";
|
|
|
23
16
|
import { TlvField, TlvOptionalField, TlvObject } from "../tlv/TlvObject.js";
|
|
24
17
|
import { TlvString, TlvByteString } from "../tlv/TlvString.js";
|
|
25
18
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
19
|
+
import { Priority } from "../globals/Priority.js";
|
|
26
20
|
import { Identity } from "#general";
|
|
27
21
|
import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
28
22
|
|
|
@@ -217,7 +211,7 @@ export namespace SoftwareDiagnostics {
|
|
|
217
211
|
*
|
|
218
212
|
* @see {@link MatterSpecification.v141.Core} § 11.13.8.1
|
|
219
213
|
*/
|
|
220
|
-
softwareFault: OptionalEvent(0x0,
|
|
214
|
+
softwareFault: OptionalEvent(0x0, Priority.Info, TlvSoftwareFaultEvent)
|
|
221
215
|
},
|
|
222
216
|
|
|
223
217
|
/**
|
package/src/clusters/switch.ts
CHANGED
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
/*** THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
8
8
|
|
|
9
9
|
import { MutableCluster } from "../cluster/mutation/MutableCluster.js";
|
|
10
|
-
import { FixedAttribute, Event,
|
|
10
|
+
import { FixedAttribute, Event, Attribute } from "../cluster/Cluster.js";
|
|
11
11
|
import { TlvUInt8 } from "../tlv/TlvNumber.js";
|
|
12
|
+
import { Priority } from "../globals/Priority.js";
|
|
12
13
|
import { TlvField, TlvObject } from "../tlv/TlvObject.js";
|
|
13
14
|
import { TypeFromSchema } from "../tlv/TlvSchema.js";
|
|
14
15
|
import { BitFlag } from "../schema/BitmapSchema.js";
|
|
@@ -304,7 +305,7 @@ export namespace Switch {
|
|
|
304
305
|
*
|
|
305
306
|
* @see {@link MatterSpecification.v141.Cluster} § 1.13.6.7
|
|
306
307
|
*/
|
|
307
|
-
multiPressComplete: Event(0x6,
|
|
308
|
+
multiPressComplete: Event(0x6, Priority.Info, TlvMultiPressCompleteEvent)
|
|
308
309
|
}
|
|
309
310
|
});
|
|
310
311
|
|
|
@@ -319,7 +320,7 @@ export namespace Switch {
|
|
|
319
320
|
*
|
|
320
321
|
* @see {@link MatterSpecification.v141.Cluster} § 1.13.6.1
|
|
321
322
|
*/
|
|
322
|
-
switchLatched: Event(0x0,
|
|
323
|
+
switchLatched: Event(0x0, Priority.Info, TlvSwitchLatchedEvent)
|
|
323
324
|
}
|
|
324
325
|
});
|
|
325
326
|
|
|
@@ -333,7 +334,7 @@ export namespace Switch {
|
|
|
333
334
|
*
|
|
334
335
|
* @see {@link MatterSpecification.v141.Cluster} § 1.13.6.2
|
|
335
336
|
*/
|
|
336
|
-
initialPress: Event(0x1,
|
|
337
|
+
initialPress: Event(0x1, Priority.Info, TlvInitialPressEvent)
|
|
337
338
|
}
|
|
338
339
|
});
|
|
339
340
|
|
|
@@ -376,7 +377,7 @@ export namespace Switch {
|
|
|
376
377
|
*
|
|
377
378
|
* @see {@link MatterSpecification.v141.Cluster} § 1.13.6.3
|
|
378
379
|
*/
|
|
379
|
-
longPress: Event(0x2,
|
|
380
|
+
longPress: Event(0x2, Priority.Info, TlvLongPressEvent),
|
|
380
381
|
|
|
381
382
|
/**
|
|
382
383
|
* This event shall be generated, when the momentary switch has been released (after debouncing) and after
|
|
@@ -386,7 +387,7 @@ export namespace Switch {
|
|
|
386
387
|
*
|
|
387
388
|
* @see {@link MatterSpecification.v141.Cluster} § 1.13.6.5
|
|
388
389
|
*/
|
|
389
|
-
longRelease: Event(0x4,
|
|
390
|
+
longRelease: Event(0x4, Priority.Info, TlvLongReleaseEvent)
|
|
390
391
|
}
|
|
391
392
|
});
|
|
392
393
|
|
|
@@ -414,7 +415,7 @@ export namespace Switch {
|
|
|
414
415
|
*
|
|
415
416
|
* @see {@link MatterSpecification.v141.Cluster} § 1.13.6.4
|
|
416
417
|
*/
|
|
417
|
-
shortRelease: Event(0x3,
|
|
418
|
+
shortRelease: Event(0x3, Priority.Info, TlvShortReleaseEvent)
|
|
418
419
|
}
|
|
419
420
|
});
|
|
420
421
|
|
|
@@ -433,7 +434,7 @@ export namespace Switch {
|
|
|
433
434
|
*
|
|
434
435
|
* @see {@link MatterSpecification.v141.Cluster} § 1.13.6.6
|
|
435
436
|
*/
|
|
436
|
-
multiPressOngoing: Event(0x5,
|
|
437
|
+
multiPressOngoing: Event(0x5, Priority.Info, TlvMultiPressOngoingEvent)
|
|
437
438
|
}
|
|
438
439
|
});
|
|
439
440
|
|