Socket
Socket
Sign inDemoInstall

@zwave-js/cc

Package Overview
Dependencies
73
Maintainers
1
Versions
143
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 12.0.0-beta.0 to 12.0.0-beta.1

20

build/cc/AlarmSensorCC.js

@@ -77,3 +77,3 @@ "use strict";

// @noSetValueAPI This CC is read-only
let AlarmSensorCCAPI = exports.AlarmSensorCCAPI = class AlarmSensorCCAPI extends API_1.PhysicalCCAPI {
let AlarmSensorCCAPI = class AlarmSensorCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -115,6 +115,7 @@ switch (cmd) {

};
exports.AlarmSensorCCAPI = AlarmSensorCCAPI;
exports.AlarmSensorCCAPI = AlarmSensorCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Alarm Sensor"])
], AlarmSensorCCAPI);
let AlarmSensorCC = exports.AlarmSensorCC = class AlarmSensorCC extends CommandClass_1.CommandClass {
let AlarmSensorCC = class AlarmSensorCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -231,2 +232,3 @@ const node = this.getNode(applHost);

};
exports.AlarmSensorCC = AlarmSensorCC;
exports.AlarmSensorCC = AlarmSensorCC = __decorate([

@@ -237,3 +239,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Alarm Sensor"]),

], AlarmSensorCC);
let AlarmSensorCCReport = exports.AlarmSensorCCReport = class AlarmSensorCCReport extends AlarmSensorCC {
let AlarmSensorCCReport = class AlarmSensorCCReport extends AlarmSensorCC {
constructor(host, options) {

@@ -292,2 +294,3 @@ super(host, options);

};
exports.AlarmSensorCCReport = AlarmSensorCCReport;
exports.AlarmSensorCCReport = AlarmSensorCCReport = __decorate([

@@ -301,3 +304,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.AlarmSensorCommand.Report)

}
let AlarmSensorCCGet = exports.AlarmSensorCCGet = class AlarmSensorCCGet extends AlarmSensorCC {
let AlarmSensorCCGet = class AlarmSensorCCGet extends AlarmSensorCC {
constructor(host, options) {

@@ -327,2 +330,3 @@ super(host, options);

};
exports.AlarmSensorCCGet = AlarmSensorCCGet;
exports.AlarmSensorCCGet = AlarmSensorCCGet = __decorate([

@@ -332,3 +336,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.AlarmSensorCommand.Get),

], AlarmSensorCCGet);
let AlarmSensorCCSupportedReport = exports.AlarmSensorCCSupportedReport = class AlarmSensorCCSupportedReport extends AlarmSensorCC {
let AlarmSensorCCSupportedReport = class AlarmSensorCCSupportedReport extends AlarmSensorCC {
constructor(host, options) {

@@ -339,3 +343,3 @@ super(host, options);

(0, safe_1.validatePayload)(this.payload.length >= 1 + bitMaskLength);
this._supportedSensorTypes = (0, safe_1.parseBitMask)(this.payload.slice(1, 1 + bitMaskLength), _Types_1.AlarmSensorType["General Purpose"]);
this._supportedSensorTypes = (0, safe_1.parseBitMask)(this.payload.subarray(1, 1 + bitMaskLength), _Types_1.AlarmSensorType["General Purpose"]);
}

@@ -366,2 +370,3 @@ _supportedSensorTypes;

};
exports.AlarmSensorCCSupportedReport = AlarmSensorCCSupportedReport;
__decorate([

@@ -373,4 +378,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.AlarmSensorCCValues.supportedSensorTypes)

], AlarmSensorCCSupportedReport);
let AlarmSensorCCSupportedGet = exports.AlarmSensorCCSupportedGet = class AlarmSensorCCSupportedGet extends AlarmSensorCC {
let AlarmSensorCCSupportedGet = class AlarmSensorCCSupportedGet extends AlarmSensorCC {
};
exports.AlarmSensorCCSupportedGet = AlarmSensorCCSupportedGet;
exports.AlarmSensorCCSupportedGet = AlarmSensorCCSupportedGet = __decorate([

@@ -377,0 +383,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.AlarmSensorCommand.SupportedGet),

@@ -116,3 +116,3 @@ "use strict";

// @noSetValueAPI
let AssociationCCAPI = exports.AssociationCCAPI = class AssociationCCAPI extends API_1.PhysicalCCAPI {
let AssociationCCAPI = class AssociationCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -233,6 +233,7 @@ switch (cmd) {

};
exports.AssociationCCAPI = AssociationCCAPI;
exports.AssociationCCAPI = AssociationCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Association)
], AssociationCCAPI);
let AssociationCC = exports.AssociationCC = AssociationCC_1 = class AssociationCC extends CommandClass_1.CommandClass {
let AssociationCC = AssociationCC_1 = class AssociationCC extends CommandClass_1.CommandClass {
determineRequiredCCInterviews() {

@@ -370,2 +371,3 @@ // AssociationCC must be interviewed after Z-Wave+ if that is supported

};
exports.AssociationCC = AssociationCC;
exports.AssociationCC = AssociationCC = AssociationCC_1 = __decorate([

@@ -376,3 +378,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Association),

], AssociationCC);
let AssociationCCSet = exports.AssociationCCSet = class AssociationCCSet extends AssociationCC {
let AssociationCCSet = class AssociationCCSet extends AssociationCC {
constructor(host, options) {

@@ -383,3 +385,3 @@ super(host, options);

this.groupId = this.payload[0];
this.nodeIds = [...this.payload.slice(1)];
this.nodeIds = [...this.payload.subarray(1)];
}

@@ -416,2 +418,3 @@ else {

};
exports.AssociationCCSet = AssociationCCSet;
exports.AssociationCCSet = AssociationCCSet = __decorate([

@@ -421,3 +424,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.AssociationCommand.Set),

], AssociationCCSet);
let AssociationCCRemove = exports.AssociationCCRemove = class AssociationCCRemove extends AssociationCC {
let AssociationCCRemove = class AssociationCCRemove extends AssociationCC {
constructor(host, options) {

@@ -430,3 +433,3 @@ super(host, options);

}
this.nodeIds = [...this.payload.slice(1)];
this.nodeIds = [...this.payload.subarray(1)];
}

@@ -472,2 +475,3 @@ else {

};
exports.AssociationCCRemove = AssociationCCRemove;
exports.AssociationCCRemove = AssociationCCRemove = __decorate([

@@ -477,3 +481,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.AssociationCommand.Remove),

], AssociationCCRemove);
let AssociationCCReport = exports.AssociationCCReport = class AssociationCCReport extends AssociationCC {
let AssociationCCReport = class AssociationCCReport extends AssociationCC {
constructor(host, options) {

@@ -486,3 +490,3 @@ super(host, options);

this.reportsToFollow = this.payload[2];
this.nodeIds = [...this.payload.slice(3)];
this.nodeIds = [...this.payload.subarray(3)];
}

@@ -534,2 +538,3 @@ else {

};
exports.AssociationCCReport = AssociationCCReport;
__decorate([

@@ -544,3 +549,3 @@ (0, CommandClassDecorators_1.ccValue)(exports.AssociationCCValues.maxNodes, (self) => [self.groupId])

], AssociationCCReport);
let AssociationCCGet = exports.AssociationCCGet = class AssociationCCGet extends AssociationCC {
let AssociationCCGet = class AssociationCCGet extends AssociationCC {
constructor(host, options) {

@@ -571,2 +576,3 @@ super(host, options);

};
exports.AssociationCCGet = AssociationCCGet;
exports.AssociationCCGet = AssociationCCGet = __decorate([

@@ -576,3 +582,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.AssociationCommand.Get),

], AssociationCCGet);
let AssociationCCSupportedGroupingsReport = exports.AssociationCCSupportedGroupingsReport = class AssociationCCSupportedGroupingsReport extends AssociationCC {
let AssociationCCSupportedGroupingsReport = class AssociationCCSupportedGroupingsReport extends AssociationCC {
constructor(host, options) {

@@ -600,2 +606,3 @@ super(host, options);

};
exports.AssociationCCSupportedGroupingsReport = AssociationCCSupportedGroupingsReport;
__decorate([

@@ -607,4 +614,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.AssociationCCValues.groupCount)

], AssociationCCSupportedGroupingsReport);
let AssociationCCSupportedGroupingsGet = exports.AssociationCCSupportedGroupingsGet = class AssociationCCSupportedGroupingsGet extends AssociationCC {
let AssociationCCSupportedGroupingsGet = class AssociationCCSupportedGroupingsGet extends AssociationCC {
};
exports.AssociationCCSupportedGroupingsGet = AssociationCCSupportedGroupingsGet;
exports.AssociationCCSupportedGroupingsGet = AssociationCCSupportedGroupingsGet = __decorate([

@@ -611,0 +619,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.AssociationCommand.SupportedGroupingsGet),

@@ -129,3 +129,3 @@ "use strict";

// @noSetValueAPI This CC only has get-type commands
let AssociationGroupInfoCCAPI = exports.AssociationGroupInfoCCAPI = class AssociationGroupInfoCCAPI extends API_1.PhysicalCCAPI {
let AssociationGroupInfoCCAPI = class AssociationGroupInfoCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -225,6 +225,7 @@ switch (cmd) {

};
exports.AssociationGroupInfoCCAPI = AssociationGroupInfoCCAPI;
exports.AssociationGroupInfoCCAPI = AssociationGroupInfoCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Association Group Information"])
], AssociationGroupInfoCCAPI);
let AssociationGroupInfoCC = exports.AssociationGroupInfoCC = AssociationGroupInfoCC_1 = class AssociationGroupInfoCC extends CommandClass_1.CommandClass {
let AssociationGroupInfoCC = AssociationGroupInfoCC_1 = class AssociationGroupInfoCC extends CommandClass_1.CommandClass {
determineRequiredCCInterviews() {

@@ -354,2 +355,3 @@ // AssociationCC must be interviewed after Z-Wave+ if that is supported

};
exports.AssociationGroupInfoCC = AssociationGroupInfoCC;
exports.AssociationGroupInfoCC = AssociationGroupInfoCC = AssociationGroupInfoCC_1 = __decorate([

@@ -360,3 +362,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Association Group Information"]),

], AssociationGroupInfoCC);
let AssociationGroupInfoCCNameReport = exports.AssociationGroupInfoCCNameReport = class AssociationGroupInfoCCNameReport extends AssociationGroupInfoCC {
let AssociationGroupInfoCCNameReport = class AssociationGroupInfoCCNameReport extends AssociationGroupInfoCC {
constructor(host, options) {

@@ -371,3 +373,3 @@ super(host, options);

// So we need to cut them off
this.name = (0, safe_2.cpp2js)(this.payload.slice(2, 2 + nameLength).toString("utf8"));
this.name = (0, safe_2.cpp2js)(this.payload.subarray(2, 2 + nameLength).toString("utf8"));
}

@@ -405,6 +407,7 @@ else {

};
exports.AssociationGroupInfoCCNameReport = AssociationGroupInfoCCNameReport;
exports.AssociationGroupInfoCCNameReport = AssociationGroupInfoCCNameReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.AssociationGroupInfoCommand.NameReport)
], AssociationGroupInfoCCNameReport);
let AssociationGroupInfoCCNameGet = exports.AssociationGroupInfoCCNameGet = class AssociationGroupInfoCCNameGet extends AssociationGroupInfoCC {
let AssociationGroupInfoCCNameGet = class AssociationGroupInfoCCNameGet extends AssociationGroupInfoCC {
constructor(host, options) {

@@ -432,2 +435,3 @@ super(host, options);

};
exports.AssociationGroupInfoCCNameGet = AssociationGroupInfoCCNameGet;
exports.AssociationGroupInfoCCNameGet = AssociationGroupInfoCCNameGet = __decorate([

@@ -437,3 +441,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.AssociationGroupInfoCommand.NameGet),

], AssociationGroupInfoCCNameGet);
let AssociationGroupInfoCCInfoReport = exports.AssociationGroupInfoCCInfoReport = class AssociationGroupInfoCCInfoReport extends AssociationGroupInfoCC {
let AssociationGroupInfoCCInfoReport = class AssociationGroupInfoCCInfoReport extends AssociationGroupInfoCC {
constructor(host, options) {

@@ -452,3 +456,3 @@ super(host, options);

// Parse the payload
const groupBytes = this.payload.slice(offset, offset + 7);
const groupBytes = this.payload.subarray(offset, offset + 7);
const groupId = groupBytes[0];

@@ -514,2 +518,3 @@ const mode = 0; // groupBytes[1];

};
exports.AssociationGroupInfoCCInfoReport = AssociationGroupInfoCCInfoReport;
__decorate([

@@ -521,3 +526,3 @@ (0, CommandClassDecorators_1.ccValue)(exports.AssociationGroupInfoCCValues.hasDynamicInfo)

], AssociationGroupInfoCCInfoReport);
let AssociationGroupInfoCCInfoGet = exports.AssociationGroupInfoCCInfoGet = class AssociationGroupInfoCCInfoGet extends AssociationGroupInfoCC {
let AssociationGroupInfoCCInfoGet = class AssociationGroupInfoCCInfoGet extends AssociationGroupInfoCC {
constructor(host, options) {

@@ -570,2 +575,3 @@ super(host, options);

};
exports.AssociationGroupInfoCCInfoGet = AssociationGroupInfoCCInfoGet;
exports.AssociationGroupInfoCCInfoGet = AssociationGroupInfoCCInfoGet = __decorate([

@@ -575,3 +581,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.AssociationGroupInfoCommand.InfoGet),

], AssociationGroupInfoCCInfoGet);
let AssociationGroupInfoCCCommandListReport = exports.AssociationGroupInfoCCCommandListReport = class AssociationGroupInfoCCCommandListReport extends AssociationGroupInfoCC {
let AssociationGroupInfoCCCommandListReport = class AssociationGroupInfoCCCommandListReport extends AssociationGroupInfoCC {
constructor(host, options) {

@@ -584,3 +590,3 @@ super(host, options);

(0, safe_1.validatePayload)(this.payload.length >= 2 + listLength);
const listBytes = this.payload.slice(2, 2 + listLength);
const listBytes = this.payload.subarray(2, 2 + listLength);
// Parse all CC ids and commands

@@ -638,2 +644,3 @@ let offset = 0;

};
exports.AssociationGroupInfoCCCommandListReport = AssociationGroupInfoCCCommandListReport;
__decorate([

@@ -645,3 +652,3 @@ (0, CommandClassDecorators_1.ccValue)(exports.AssociationGroupInfoCCValues.commands, (self) => [self.groupId])

], AssociationGroupInfoCCCommandListReport);
let AssociationGroupInfoCCCommandListGet = exports.AssociationGroupInfoCCCommandListGet = class AssociationGroupInfoCCCommandListGet extends AssociationGroupInfoCC {
let AssociationGroupInfoCCCommandListGet = class AssociationGroupInfoCCCommandListGet extends AssociationGroupInfoCC {
constructor(host, options) {

@@ -678,2 +685,3 @@ super(host, options);

};
exports.AssociationGroupInfoCCCommandListGet = AssociationGroupInfoCCCommandListGet;
exports.AssociationGroupInfoCCCommandListGet = AssociationGroupInfoCCCommandListGet = __decorate([

@@ -680,0 +688,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.AssociationGroupInfoCommand.CommandListGet),

@@ -87,3 +87,3 @@ "use strict";

});
let BarrierOperatorCCAPI = exports.BarrierOperatorCCAPI = class BarrierOperatorCCAPI extends API_1.CCAPI {
let BarrierOperatorCCAPI = class BarrierOperatorCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -279,6 +279,7 @@ switch (cmd) {

};
exports.BarrierOperatorCCAPI = BarrierOperatorCCAPI;
exports.BarrierOperatorCCAPI = BarrierOperatorCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Barrier Operator"])
], BarrierOperatorCCAPI);
let BarrierOperatorCC = exports.BarrierOperatorCC = class BarrierOperatorCC extends CommandClass_1.CommandClass {
let BarrierOperatorCC = class BarrierOperatorCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -345,2 +346,3 @@ const node = this.getNode(applHost);

};
exports.BarrierOperatorCC = BarrierOperatorCC;
exports.BarrierOperatorCC = BarrierOperatorCC = __decorate([

@@ -351,3 +353,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Barrier Operator"]),

], BarrierOperatorCC);
let BarrierOperatorCCSet = exports.BarrierOperatorCCSet = class BarrierOperatorCCSet extends BarrierOperatorCC {
let BarrierOperatorCCSet = class BarrierOperatorCCSet extends BarrierOperatorCC {
constructor(host, options) {

@@ -374,2 +376,3 @@ super(host, options);

};
exports.BarrierOperatorCCSet = BarrierOperatorCCSet;
exports.BarrierOperatorCCSet = BarrierOperatorCCSet = __decorate([

@@ -379,3 +382,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BarrierOperatorCommand.Set),

], BarrierOperatorCCSet);
let BarrierOperatorCCReport = exports.BarrierOperatorCCReport = class BarrierOperatorCCReport extends BarrierOperatorCC {
let BarrierOperatorCCReport = class BarrierOperatorCCReport extends BarrierOperatorCC {
constructor(host, options) {

@@ -426,2 +429,3 @@ super(host, options);

};
exports.BarrierOperatorCCReport = BarrierOperatorCCReport;
__decorate([

@@ -436,4 +440,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.BarrierOperatorCCValues.currentState)

], BarrierOperatorCCReport);
let BarrierOperatorCCGet = exports.BarrierOperatorCCGet = class BarrierOperatorCCGet extends BarrierOperatorCC {
let BarrierOperatorCCGet = class BarrierOperatorCCGet extends BarrierOperatorCC {
};
exports.BarrierOperatorCCGet = BarrierOperatorCCGet;
exports.BarrierOperatorCCGet = BarrierOperatorCCGet = __decorate([

@@ -443,3 +448,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BarrierOperatorCommand.Get),

], BarrierOperatorCCGet);
let BarrierOperatorCCSignalingCapabilitiesReport = exports.BarrierOperatorCCSignalingCapabilitiesReport = class BarrierOperatorCCSignalingCapabilitiesReport extends BarrierOperatorCC {
let BarrierOperatorCCSignalingCapabilitiesReport = class BarrierOperatorCCSignalingCapabilitiesReport extends BarrierOperatorCC {
constructor(host, options) {

@@ -461,2 +466,3 @@ super(host, options);

};
exports.BarrierOperatorCCSignalingCapabilitiesReport = BarrierOperatorCCSignalingCapabilitiesReport;
__decorate([

@@ -468,4 +474,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.BarrierOperatorCCValues.supportedSubsystemTypes)

], BarrierOperatorCCSignalingCapabilitiesReport);
let BarrierOperatorCCSignalingCapabilitiesGet = exports.BarrierOperatorCCSignalingCapabilitiesGet = class BarrierOperatorCCSignalingCapabilitiesGet extends BarrierOperatorCC {
let BarrierOperatorCCSignalingCapabilitiesGet = class BarrierOperatorCCSignalingCapabilitiesGet extends BarrierOperatorCC {
};
exports.BarrierOperatorCCSignalingCapabilitiesGet = BarrierOperatorCCSignalingCapabilitiesGet;
exports.BarrierOperatorCCSignalingCapabilitiesGet = BarrierOperatorCCSignalingCapabilitiesGet = __decorate([

@@ -475,3 +482,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BarrierOperatorCommand.SignalingCapabilitiesGet),

], BarrierOperatorCCSignalingCapabilitiesGet);
let BarrierOperatorCCEventSignalingSet = exports.BarrierOperatorCCEventSignalingSet = class BarrierOperatorCCEventSignalingSet extends BarrierOperatorCC {
let BarrierOperatorCCEventSignalingSet = class BarrierOperatorCCEventSignalingSet extends BarrierOperatorCC {
constructor(host, options) {

@@ -504,2 +511,3 @@ super(host, options);

};
exports.BarrierOperatorCCEventSignalingSet = BarrierOperatorCCEventSignalingSet;
exports.BarrierOperatorCCEventSignalingSet = BarrierOperatorCCEventSignalingSet = __decorate([

@@ -509,3 +517,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BarrierOperatorCommand.EventSignalingSet),

], BarrierOperatorCCEventSignalingSet);
let BarrierOperatorCCEventSignalingReport = exports.BarrierOperatorCCEventSignalingReport = class BarrierOperatorCCEventSignalingReport extends BarrierOperatorCC {
let BarrierOperatorCCEventSignalingReport = class BarrierOperatorCCEventSignalingReport extends BarrierOperatorCC {
constructor(host, options) {

@@ -537,6 +545,7 @@ super(host, options);

};
exports.BarrierOperatorCCEventSignalingReport = BarrierOperatorCCEventSignalingReport;
exports.BarrierOperatorCCEventSignalingReport = BarrierOperatorCCEventSignalingReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.BarrierOperatorCommand.EventSignalingReport)
], BarrierOperatorCCEventSignalingReport);
let BarrierOperatorCCEventSignalingGet = exports.BarrierOperatorCCEventSignalingGet = class BarrierOperatorCCEventSignalingGet extends BarrierOperatorCC {
let BarrierOperatorCCEventSignalingGet = class BarrierOperatorCCEventSignalingGet extends BarrierOperatorCC {
constructor(host, options) {

@@ -566,2 +575,3 @@ super(host, options);

};
exports.BarrierOperatorCCEventSignalingGet = BarrierOperatorCCEventSignalingGet;
exports.BarrierOperatorCCEventSignalingGet = BarrierOperatorCCEventSignalingGet = __decorate([

@@ -568,0 +578,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BarrierOperatorCommand.EventSignalingGet),

@@ -63,3 +63,3 @@ "use strict";

});
let BasicCCAPI = exports.BasicCCAPI = class BasicCCAPI extends API_1.CCAPI {
let BasicCCAPI = class BasicCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -174,6 +174,7 @@ switch (cmd) {

};
exports.BasicCCAPI = BasicCCAPI;
exports.BasicCCAPI = BasicCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Basic)
], BasicCCAPI);
let BasicCC = exports.BasicCC = class BasicCC extends CommandClass_1.CommandClass {
let BasicCC = class BasicCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -234,2 +235,3 @@ const node = this.getNode(applHost);

};
exports.BasicCC = BasicCC;
exports.BasicCC = BasicCC = __decorate([

@@ -241,3 +243,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Basic),

], BasicCC);
let BasicCCSet = exports.BasicCCSet = class BasicCCSet extends BasicCC {
let BasicCCSet = class BasicCCSet extends BasicCC {
constructor(host, options) {

@@ -265,2 +267,3 @@ super(host, options);

};
exports.BasicCCSet = BasicCCSet;
exports.BasicCCSet = BasicCCSet = __decorate([

@@ -270,3 +273,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BasicCommand.Set),

], BasicCCSet);
let BasicCCReport = exports.BasicCCReport = class BasicCCReport extends BasicCC {
let BasicCCReport = class BasicCCReport extends BasicCC {
// @noCCValues See comment in the constructor

@@ -329,2 +332,3 @@ constructor(host, options) {

};
exports.BasicCCReport = BasicCCReport;
__decorate([

@@ -342,4 +346,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.BasicCCValues.currentValue)

], BasicCCReport);
let BasicCCGet = exports.BasicCCGet = class BasicCCGet extends BasicCC {
let BasicCCGet = class BasicCCGet extends BasicCC {
};
exports.BasicCCGet = BasicCCGet;
exports.BasicCCGet = BasicCCGet = __decorate([

@@ -346,0 +351,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BasicCommand.Get),

@@ -98,3 +98,3 @@ "use strict";

// @noSetValueAPI This CC is read-only
let BatteryCCAPI = exports.BatteryCCAPI = class BatteryCCAPI extends API_1.PhysicalCCAPI {
let BatteryCCAPI = class BatteryCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -167,6 +167,7 @@ switch (cmd) {

};
exports.BatteryCCAPI = BatteryCCAPI;
exports.BatteryCCAPI = BatteryCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Battery)
], BatteryCCAPI);
let BatteryCC = exports.BatteryCC = class BatteryCC extends CommandClass_1.CommandClass {
let BatteryCC = class BatteryCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -248,2 +249,3 @@ const node = this.getNode(applHost);

};
exports.BatteryCC = BatteryCC;
exports.BatteryCC = BatteryCC = __decorate([

@@ -254,3 +256,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Battery),

], BatteryCC);
let BatteryCCReport = exports.BatteryCCReport = class BatteryCCReport extends BatteryCC {
let BatteryCCReport = class BatteryCCReport extends BatteryCC {
constructor(host, options) {

@@ -390,2 +392,3 @@ super(host, options);

};
exports.BatteryCCReport = BatteryCCReport;
__decorate([

@@ -424,4 +427,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.BatteryCCValues.level)

], BatteryCCReport);
let BatteryCCGet = exports.BatteryCCGet = class BatteryCCGet extends BatteryCC {
let BatteryCCGet = class BatteryCCGet extends BatteryCC {
};
exports.BatteryCCGet = BatteryCCGet;
exports.BatteryCCGet = BatteryCCGet = __decorate([

@@ -431,3 +435,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BatteryCommand.Get),

], BatteryCCGet);
let BatteryCCHealthReport = exports.BatteryCCHealthReport = class BatteryCCHealthReport extends BatteryCC {
let BatteryCCHealthReport = class BatteryCCHealthReport extends BatteryCC {
constructor(host, options) {

@@ -440,3 +444,3 @@ super(host, options);

this.maximumCapacity = undefined;
const { value: temperature, scale } = (0, safe_1.parseFloatWithScale)(this.payload.slice(1), true);
const { value: temperature, scale } = (0, safe_1.parseFloatWithScale)(this.payload.subarray(1), true);
this.temperature = temperature;

@@ -473,2 +477,3 @@ this.temperatureScale = scale;

};
exports.BatteryCCHealthReport = BatteryCCHealthReport;
__decorate([

@@ -483,4 +488,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.BatteryCCValues.maximumCapacity)

], BatteryCCHealthReport);
let BatteryCCHealthGet = exports.BatteryCCHealthGet = class BatteryCCHealthGet extends BatteryCC {
let BatteryCCHealthGet = class BatteryCCHealthGet extends BatteryCC {
};
exports.BatteryCCHealthGet = BatteryCCHealthGet;
exports.BatteryCCHealthGet = BatteryCCHealthGet = __decorate([

@@ -487,0 +493,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BatteryCommand.HealthGet),

@@ -54,3 +54,3 @@ "use strict";

// @noSetValueAPI This CC is read-only
let BinarySensorCCAPI = exports.BinarySensorCCAPI = class BinarySensorCCAPI extends API_1.PhysicalCCAPI {
let BinarySensorCCAPI = class BinarySensorCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -103,6 +103,7 @@ switch (cmd) {

};
exports.BinarySensorCCAPI = BinarySensorCCAPI;
exports.BinarySensorCCAPI = BinarySensorCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Binary Sensor"])
], BinarySensorCCAPI);
let BinarySensorCC = exports.BinarySensorCC = class BinarySensorCC extends CommandClass_1.CommandClass {
let BinarySensorCC = class BinarySensorCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -211,2 +212,3 @@ const node = this.getNode(applHost);

};
exports.BinarySensorCC = BinarySensorCC;
exports.BinarySensorCC = BinarySensorCC = __decorate([

@@ -217,3 +219,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Binary Sensor"]),

], BinarySensorCC);
let BinarySensorCCReport = exports.BinarySensorCCReport = class BinarySensorCCReport extends BinarySensorCC {
let BinarySensorCCReport = class BinarySensorCCReport extends BinarySensorCC {
constructor(host, options) {

@@ -258,2 +260,3 @@ super(host, options);

};
exports.BinarySensorCCReport = BinarySensorCCReport;
exports.BinarySensorCCReport = BinarySensorCCReport = __decorate([

@@ -268,3 +271,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BinarySensorCommand.Report)

}
let BinarySensorCCGet = exports.BinarySensorCCGet = class BinarySensorCCGet extends BinarySensorCC {
let BinarySensorCCGet = class BinarySensorCCGet extends BinarySensorCC {
constructor(host, options) {

@@ -297,2 +300,3 @@ super(host, options);

};
exports.BinarySensorCCGet = BinarySensorCCGet;
exports.BinarySensorCCGet = BinarySensorCCGet = __decorate([

@@ -302,3 +306,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BinarySensorCommand.Get),

], BinarySensorCCGet);
let BinarySensorCCSupportedReport = exports.BinarySensorCCSupportedReport = class BinarySensorCCSupportedReport extends BinarySensorCC {
let BinarySensorCCSupportedReport = class BinarySensorCCSupportedReport extends BinarySensorCC {
constructor(host, options) {

@@ -323,2 +327,3 @@ super(host, options);

};
exports.BinarySensorCCSupportedReport = BinarySensorCCSupportedReport;
__decorate([

@@ -330,4 +335,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.BinarySensorCCValues.supportedSensorTypes)

], BinarySensorCCSupportedReport);
let BinarySensorCCSupportedGet = exports.BinarySensorCCSupportedGet = class BinarySensorCCSupportedGet extends BinarySensorCC {
let BinarySensorCCSupportedGet = class BinarySensorCCSupportedGet extends BinarySensorCC {
};
exports.BinarySensorCCSupportedGet = BinarySensorCCSupportedGet;
exports.BinarySensorCCSupportedGet = BinarySensorCCSupportedGet = __decorate([

@@ -334,0 +340,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BinarySensorCommand.SupportedGet),

@@ -71,3 +71,3 @@ "use strict";

});
let BinarySwitchCCAPI = exports.BinarySwitchCCAPI = class BinarySwitchCCAPI extends API_1.CCAPI {
let BinarySwitchCCAPI = class BinarySwitchCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -181,6 +181,7 @@ switch (cmd) {

};
exports.BinarySwitchCCAPI = BinarySwitchCCAPI;
exports.BinarySwitchCCAPI = BinarySwitchCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Binary Switch"])
], BinarySwitchCCAPI);
let BinarySwitchCC = exports.BinarySwitchCC = class BinarySwitchCC extends CommandClass_1.CommandClass {
let BinarySwitchCC = class BinarySwitchCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -230,2 +231,3 @@ const node = this.getNode(applHost);

};
exports.BinarySwitchCC = BinarySwitchCC;
exports.BinarySwitchCC = BinarySwitchCC = __decorate([

@@ -236,3 +238,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Binary Switch"]),

], BinarySwitchCC);
let BinarySwitchCCSet = exports.BinarySwitchCCSet = class BinarySwitchCCSet extends BinarySwitchCC {
let BinarySwitchCCSet = class BinarySwitchCCSet extends BinarySwitchCC {
constructor(host, options) {

@@ -275,2 +277,3 @@ super(host, options);

};
exports.BinarySwitchCCSet = BinarySwitchCCSet;
exports.BinarySwitchCCSet = BinarySwitchCCSet = __decorate([

@@ -280,3 +283,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BinarySwitchCommand.Set),

], BinarySwitchCCSet);
let BinarySwitchCCReport = exports.BinarySwitchCCReport = class BinarySwitchCCReport extends BinarySwitchCC {
let BinarySwitchCCReport = class BinarySwitchCCReport extends BinarySwitchCC {
constructor(host, options) {

@@ -332,2 +335,3 @@ super(host, options);

};
exports.BinarySwitchCCReport = BinarySwitchCCReport;
__decorate([

@@ -345,4 +349,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.BinarySwitchCCValues.currentValue)

], BinarySwitchCCReport);
let BinarySwitchCCGet = exports.BinarySwitchCCGet = class BinarySwitchCCGet extends BinarySwitchCC {
let BinarySwitchCCGet = class BinarySwitchCCGet extends BinarySwitchCC {
};
exports.BinarySwitchCCGet = BinarySwitchCCGet;
exports.BinarySwitchCCGet = BinarySwitchCCGet = __decorate([

@@ -349,0 +354,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.BinarySwitchCommand.Get),

@@ -80,3 +80,3 @@ "use strict";

});
let CentralSceneCCAPI = exports.CentralSceneCCAPI = class CentralSceneCCAPI extends API_1.CCAPI {
let CentralSceneCCAPI = class CentralSceneCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -151,6 +151,7 @@ switch (cmd) {

};
exports.CentralSceneCCAPI = CentralSceneCCAPI;
exports.CentralSceneCCAPI = CentralSceneCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Central Scene"])
], CentralSceneCCAPI);
let CentralSceneCC = exports.CentralSceneCC = class CentralSceneCC extends CommandClass_1.CommandClass {
let CentralSceneCC = class CentralSceneCC extends CommandClass_1.CommandClass {
determineRequiredCCInterviews() {

@@ -228,2 +229,3 @@ return [

};
exports.CentralSceneCC = CentralSceneCC;
exports.CentralSceneCC = CentralSceneCC = __decorate([

@@ -234,3 +236,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Central Scene"]),

], CentralSceneCC);
let CentralSceneCCNotification = exports.CentralSceneCCNotification = class CentralSceneCCNotification extends CentralSceneCC {
let CentralSceneCCNotification = class CentralSceneCCNotification extends CentralSceneCC {
constructor(host, options) {

@@ -279,6 +281,7 @@ super(host, options);

};
exports.CentralSceneCCNotification = CentralSceneCCNotification;
exports.CentralSceneCCNotification = CentralSceneCCNotification = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.CentralSceneCommand.Notification)
], CentralSceneCCNotification);
let CentralSceneCCSupportedReport = exports.CentralSceneCCSupportedReport = class CentralSceneCCSupportedReport extends CentralSceneCC {
let CentralSceneCCSupportedReport = class CentralSceneCCSupportedReport extends CentralSceneCC {
constructor(host, options) {

@@ -296,3 +299,3 @@ super(host, options);

for (let i = 0; i < numEntries; i++) {
const mask = this.payload.slice(2 + i * bitMaskBytes, 2 + (i + 1) * bitMaskBytes);
const mask = this.payload.subarray(2 + i * bitMaskBytes, 2 + (i + 1) * bitMaskBytes);
this._supportedKeyAttributes.set(i + 1, (0, safe_1.parseBitMask)(mask, _Types_1.CentralSceneKeys.KeyPressed));

@@ -343,2 +346,3 @@ }

};
exports.CentralSceneCCSupportedReport = CentralSceneCCSupportedReport;
__decorate([

@@ -356,4 +360,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.CentralSceneCCValues.sceneCount)

], CentralSceneCCSupportedReport);
let CentralSceneCCSupportedGet = exports.CentralSceneCCSupportedGet = class CentralSceneCCSupportedGet extends CentralSceneCC {
let CentralSceneCCSupportedGet = class CentralSceneCCSupportedGet extends CentralSceneCC {
};
exports.CentralSceneCCSupportedGet = CentralSceneCCSupportedGet;
exports.CentralSceneCCSupportedGet = CentralSceneCCSupportedGet = __decorate([

@@ -363,3 +368,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.CentralSceneCommand.SupportedGet),

], CentralSceneCCSupportedGet);
let CentralSceneCCConfigurationReport = exports.CentralSceneCCConfigurationReport = class CentralSceneCCConfigurationReport extends CentralSceneCC {
let CentralSceneCCConfigurationReport = class CentralSceneCCConfigurationReport extends CentralSceneCC {
constructor(host, options) {

@@ -378,2 +383,3 @@ super(host, options);

};
exports.CentralSceneCCConfigurationReport = CentralSceneCCConfigurationReport;
__decorate([

@@ -385,4 +391,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.CentralSceneCCValues.slowRefresh)

], CentralSceneCCConfigurationReport);
let CentralSceneCCConfigurationGet = exports.CentralSceneCCConfigurationGet = class CentralSceneCCConfigurationGet extends CentralSceneCC {
let CentralSceneCCConfigurationGet = class CentralSceneCCConfigurationGet extends CentralSceneCC {
};
exports.CentralSceneCCConfigurationGet = CentralSceneCCConfigurationGet;
exports.CentralSceneCCConfigurationGet = CentralSceneCCConfigurationGet = __decorate([

@@ -392,3 +399,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.CentralSceneCommand.ConfigurationGet),

], CentralSceneCCConfigurationGet);
let CentralSceneCCConfigurationSet = exports.CentralSceneCCConfigurationSet = class CentralSceneCCConfigurationSet extends CentralSceneCC {
let CentralSceneCCConfigurationSet = class CentralSceneCCConfigurationSet extends CentralSceneCC {
constructor(host, options) {

@@ -415,2 +422,3 @@ super(host, options);

};
exports.CentralSceneCCConfigurationSet = CentralSceneCCConfigurationSet;
exports.CentralSceneCCConfigurationSet = CentralSceneCCConfigurationSet = __decorate([

@@ -417,0 +425,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.CentralSceneCommand.ConfigurationSet),

@@ -147,3 +147,3 @@ "use strict";

});
let ClimateControlScheduleCCAPI = exports.ClimateControlScheduleCCAPI = class ClimateControlScheduleCCAPI extends API_1.CCAPI {
let ClimateControlScheduleCCAPI = class ClimateControlScheduleCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -221,7 +221,9 @@ switch (cmd) {

};
exports.ClimateControlScheduleCCAPI = ClimateControlScheduleCCAPI;
exports.ClimateControlScheduleCCAPI = ClimateControlScheduleCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Climate Control Schedule"])
], ClimateControlScheduleCCAPI);
let ClimateControlScheduleCC = exports.ClimateControlScheduleCC = class ClimateControlScheduleCC extends CommandClass_1.CommandClass {
let ClimateControlScheduleCC = class ClimateControlScheduleCC extends CommandClass_1.CommandClass {
};
exports.ClimateControlScheduleCC = ClimateControlScheduleCC;
exports.ClimateControlScheduleCC = ClimateControlScheduleCC = __decorate([

@@ -232,3 +234,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Climate Control Schedule"]),

], ClimateControlScheduleCC);
let ClimateControlScheduleCCSet = exports.ClimateControlScheduleCCSet = class ClimateControlScheduleCCSet extends ClimateControlScheduleCC {
let ClimateControlScheduleCCSet = class ClimateControlScheduleCCSet extends ClimateControlScheduleCC {
constructor(host, options) {

@@ -275,2 +277,3 @@ super(host, options);

};
exports.ClimateControlScheduleCCSet = ClimateControlScheduleCCSet;
exports.ClimateControlScheduleCCSet = ClimateControlScheduleCCSet = __decorate([

@@ -280,3 +283,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ClimateControlScheduleCommand.Set),

], ClimateControlScheduleCCSet);
let ClimateControlScheduleCCReport = exports.ClimateControlScheduleCCReport = class ClimateControlScheduleCCReport extends ClimateControlScheduleCC {
let ClimateControlScheduleCCReport = class ClimateControlScheduleCCReport extends ClimateControlScheduleCC {
constructor(host, options) {

@@ -288,3 +291,3 @@ super(host, options);

for (let i = 0; i <= 8; i++) {
allSwitchpoints.push((0, serializers_1.decodeSwitchpoint)(this.payload.slice(1 + 3 * i)));
allSwitchpoints.push((0, serializers_1.decodeSwitchpoint)(this.payload.subarray(1 + 3 * i)));
}

@@ -308,2 +311,3 @@ this.schedule = allSwitchpoints.filter((sp) => sp.state !== "Unused");

};
exports.ClimateControlScheduleCCReport = ClimateControlScheduleCCReport;
__decorate([

@@ -315,3 +319,3 @@ (0, CommandClassDecorators_1.ccValue)(exports.ClimateControlScheduleCCValues.schedule, (self) => [self.weekday])

], ClimateControlScheduleCCReport);
let ClimateControlScheduleCCGet = exports.ClimateControlScheduleCCGet = class ClimateControlScheduleCCGet extends ClimateControlScheduleCC {
let ClimateControlScheduleCCGet = class ClimateControlScheduleCCGet extends ClimateControlScheduleCC {
constructor(host, options) {

@@ -338,2 +342,3 @@ super(host, options);

};
exports.ClimateControlScheduleCCGet = ClimateControlScheduleCCGet;
exports.ClimateControlScheduleCCGet = ClimateControlScheduleCCGet = __decorate([

@@ -343,3 +348,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ClimateControlScheduleCommand.Get),

], ClimateControlScheduleCCGet);
let ClimateControlScheduleCCChangedReport = exports.ClimateControlScheduleCCChangedReport = class ClimateControlScheduleCCChangedReport extends ClimateControlScheduleCC {
let ClimateControlScheduleCCChangedReport = class ClimateControlScheduleCCChangedReport extends ClimateControlScheduleCC {
constructor(host, options) {

@@ -358,7 +363,9 @@ super(host, options);

};
exports.ClimateControlScheduleCCChangedReport = ClimateControlScheduleCCChangedReport;
exports.ClimateControlScheduleCCChangedReport = ClimateControlScheduleCCChangedReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ClimateControlScheduleCommand.ChangedReport)
], ClimateControlScheduleCCChangedReport);
let ClimateControlScheduleCCChangedGet = exports.ClimateControlScheduleCCChangedGet = class ClimateControlScheduleCCChangedGet extends ClimateControlScheduleCC {
let ClimateControlScheduleCCChangedGet = class ClimateControlScheduleCCChangedGet extends ClimateControlScheduleCC {
};
exports.ClimateControlScheduleCCChangedGet = ClimateControlScheduleCCChangedGet;
exports.ClimateControlScheduleCCChangedGet = ClimateControlScheduleCCChangedGet = __decorate([

@@ -368,3 +375,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ClimateControlScheduleCommand.ChangedGet),

], ClimateControlScheduleCCChangedGet);
let ClimateControlScheduleCCOverrideReport = exports.ClimateControlScheduleCCOverrideReport = class ClimateControlScheduleCCOverrideReport extends ClimateControlScheduleCC {
let ClimateControlScheduleCCOverrideReport = class ClimateControlScheduleCCOverrideReport extends ClimateControlScheduleCC {
constructor(host, options) {

@@ -389,2 +396,3 @@ super(host, options);

};
exports.ClimateControlScheduleCCOverrideReport = ClimateControlScheduleCCOverrideReport;
__decorate([

@@ -399,4 +407,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ClimateControlScheduleCCValues.overrideType)

], ClimateControlScheduleCCOverrideReport);
let ClimateControlScheduleCCOverrideGet = exports.ClimateControlScheduleCCOverrideGet = class ClimateControlScheduleCCOverrideGet extends ClimateControlScheduleCC {
let ClimateControlScheduleCCOverrideGet = class ClimateControlScheduleCCOverrideGet extends ClimateControlScheduleCC {
};
exports.ClimateControlScheduleCCOverrideGet = ClimateControlScheduleCCOverrideGet;
exports.ClimateControlScheduleCCOverrideGet = ClimateControlScheduleCCOverrideGet = __decorate([

@@ -406,3 +415,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ClimateControlScheduleCommand.OverrideGet),

], ClimateControlScheduleCCOverrideGet);
let ClimateControlScheduleCCOverrideSet = exports.ClimateControlScheduleCCOverrideSet = class ClimateControlScheduleCCOverrideSet extends ClimateControlScheduleCC {
let ClimateControlScheduleCCOverrideSet = class ClimateControlScheduleCCOverrideSet extends ClimateControlScheduleCC {
constructor(host, options) {

@@ -437,2 +446,3 @@ super(host, options);

};
exports.ClimateControlScheduleCCOverrideSet = ClimateControlScheduleCCOverrideSet;
exports.ClimateControlScheduleCCOverrideSet = ClimateControlScheduleCCOverrideSet = __decorate([

@@ -439,0 +449,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ClimateControlScheduleCommand.OverrideSet),

@@ -44,3 +44,3 @@ "use strict";

// @noSetValueAPI - This CC has no simple value to set
let ClockCCAPI = exports.ClockCCAPI = class ClockCCAPI extends API_1.CCAPI {
let ClockCCAPI = class ClockCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -82,6 +82,7 @@ switch (cmd) {

};
exports.ClockCCAPI = ClockCCAPI;
exports.ClockCCAPI = ClockCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Clock)
], ClockCCAPI);
let ClockCC = exports.ClockCC = class ClockCC extends CommandClass_1.CommandClass {
let ClockCC = class ClockCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -120,2 +121,3 @@ const node = this.getNode(applHost);

};
exports.ClockCC = ClockCC;
exports.ClockCC = ClockCC = __decorate([

@@ -125,3 +127,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Clock),

], ClockCC);
let ClockCCSet = exports.ClockCCSet = class ClockCCSet extends ClockCC {
let ClockCCSet = class ClockCCSet extends ClockCC {
constructor(host, options) {

@@ -158,2 +160,3 @@ super(host, options);

};
exports.ClockCCSet = ClockCCSet;
exports.ClockCCSet = ClockCCSet = __decorate([

@@ -163,3 +166,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ClockCommand.Set),

], ClockCCSet);
let ClockCCReport = exports.ClockCCReport = class ClockCCReport extends ClockCC {
let ClockCCReport = class ClockCCReport extends ClockCC {
constructor(host, options) {

@@ -185,7 +188,9 @@ super(host, options);

};
exports.ClockCCReport = ClockCCReport;
exports.ClockCCReport = ClockCCReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ClockCommand.Report)
], ClockCCReport);
let ClockCCGet = exports.ClockCCGet = class ClockCCGet extends ClockCC {
let ClockCCGet = class ClockCCGet extends ClockCC {
};
exports.ClockCCGet = ClockCCGet;
exports.ClockCCGet = ClockCCGet = __decorate([

@@ -192,0 +197,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ClockCommand.Get),

@@ -434,3 +434,3 @@ "use strict";

});
let ColorSwitchCCAPI = exports.ColorSwitchCCAPI = class ColorSwitchCCAPI extends API_1.CCAPI {
let ColorSwitchCCAPI = class ColorSwitchCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -653,6 +653,7 @@ switch (cmd) {

};
exports.ColorSwitchCCAPI = ColorSwitchCCAPI;
exports.ColorSwitchCCAPI = ColorSwitchCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(core_1.CommandClasses["Color Switch"])
], ColorSwitchCCAPI);
let ColorSwitchCC = exports.ColorSwitchCC = class ColorSwitchCC extends CommandClass_1.CommandClass {
let ColorSwitchCC = class ColorSwitchCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -751,2 +752,3 @@ const node = this.getNode(applHost);

};
exports.ColorSwitchCC = ColorSwitchCC;
exports.ColorSwitchCC = ColorSwitchCC = __decorate([

@@ -757,3 +759,3 @@ (0, CommandClassDecorators_1.commandClass)(core_1.CommandClasses["Color Switch"]),

], ColorSwitchCC);
let ColorSwitchCCSupportedReport = exports.ColorSwitchCCSupportedReport = class ColorSwitchCCSupportedReport extends ColorSwitchCC {
let ColorSwitchCCSupportedReport = class ColorSwitchCCSupportedReport extends ColorSwitchCC {
constructor(host, options) {

@@ -763,3 +765,3 @@ super(host, options);

(0, core_1.validatePayload)(this.payload.length >= 2);
this.supportedColorComponents = (0, core_1.parseBitMask)(this.payload.slice(0, 2), _Types_1.ColorComponent["Warm White"]);
this.supportedColorComponents = (0, core_1.parseBitMask)(this.payload.subarray(0, 2), _Types_1.ColorComponent["Warm White"]);
}

@@ -778,2 +780,3 @@ supportedColorComponents;

};
exports.ColorSwitchCCSupportedReport = ColorSwitchCCSupportedReport;
__decorate([

@@ -785,4 +788,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ColorSwitchCCValues.supportedColorComponents)

], ColorSwitchCCSupportedReport);
let ColorSwitchCCSupportedGet = exports.ColorSwitchCCSupportedGet = class ColorSwitchCCSupportedGet extends ColorSwitchCC {
let ColorSwitchCCSupportedGet = class ColorSwitchCCSupportedGet extends ColorSwitchCC {
};
exports.ColorSwitchCCSupportedGet = ColorSwitchCCSupportedGet;
exports.ColorSwitchCCSupportedGet = ColorSwitchCCSupportedGet = __decorate([

@@ -792,3 +796,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ColorSwitchCommand.SupportedGet),

], ColorSwitchCCSupportedGet);
let ColorSwitchCCReport = exports.ColorSwitchCCReport = class ColorSwitchCCReport extends ColorSwitchCC {
let ColorSwitchCCReport = class ColorSwitchCCReport extends ColorSwitchCC {
constructor(host, options) {

@@ -862,2 +866,3 @@ super(host, options);

};
exports.ColorSwitchCCReport = ColorSwitchCCReport;
__decorate([

@@ -878,3 +883,3 @@ (0, CommandClassDecorators_1.ccValue)(exports.ColorSwitchCCValues.currentColorChannel, (self) => [self.colorComponent])

}
let ColorSwitchCCGet = exports.ColorSwitchCCGet = class ColorSwitchCCGet extends ColorSwitchCC {
let ColorSwitchCCGet = class ColorSwitchCCGet extends ColorSwitchCC {
constructor(host, options) {

@@ -913,2 +918,3 @@ super(host, options);

};
exports.ColorSwitchCCGet = ColorSwitchCCGet;
exports.ColorSwitchCCGet = ColorSwitchCCGet = __decorate([

@@ -918,3 +924,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ColorSwitchCommand.Get),

], ColorSwitchCCGet);
let ColorSwitchCCSet = exports.ColorSwitchCCSet = class ColorSwitchCCSet extends ColorSwitchCC {
let ColorSwitchCCSet = class ColorSwitchCCSet extends ColorSwitchCC {
constructor(host, options) {

@@ -980,2 +986,3 @@ super(host, options);

};
exports.ColorSwitchCCSet = ColorSwitchCCSet;
exports.ColorSwitchCCSet = ColorSwitchCCSet = __decorate([

@@ -985,3 +992,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ColorSwitchCommand.Set),

], ColorSwitchCCSet);
let ColorSwitchCCStartLevelChange = exports.ColorSwitchCCStartLevelChange = class ColorSwitchCCStartLevelChange extends ColorSwitchCC {
let ColorSwitchCCStartLevelChange = class ColorSwitchCCStartLevelChange extends ColorSwitchCC {
constructor(host, options) {

@@ -1031,2 +1038,3 @@ super(host, options);

};
exports.ColorSwitchCCStartLevelChange = ColorSwitchCCStartLevelChange;
exports.ColorSwitchCCStartLevelChange = ColorSwitchCCStartLevelChange = __decorate([

@@ -1036,3 +1044,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ColorSwitchCommand.StartLevelChange),

], ColorSwitchCCStartLevelChange);
let ColorSwitchCCStopLevelChange = exports.ColorSwitchCCStopLevelChange = class ColorSwitchCCStopLevelChange extends ColorSwitchCC {
let ColorSwitchCCStopLevelChange = class ColorSwitchCCStopLevelChange extends ColorSwitchCC {
constructor(host, options) {

@@ -1062,2 +1070,3 @@ super(host, options);

};
exports.ColorSwitchCCStopLevelChange = ColorSwitchCCStopLevelChange;
exports.ColorSwitchCCStopLevelChange = ColorSwitchCCStopLevelChange = __decorate([

@@ -1064,0 +1073,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ColorSwitchCommand.StopLevelChange),

@@ -19,3 +19,3 @@ "use strict";

// want to pay the cost of validating each call
let CRC16CCAPI = exports.CRC16CCAPI = class CRC16CCAPI extends API_1.CCAPI {
let CRC16CCAPI = class CRC16CCAPI extends API_1.CCAPI {
supportsCommand(_cmd) {

@@ -38,6 +38,7 @@ // switch (cmd) {

};
exports.CRC16CCAPI = CRC16CCAPI;
exports.CRC16CCAPI = CRC16CCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["CRC-16 Encapsulation"])
], CRC16CCAPI);
let CRC16CC = exports.CRC16CC = class CRC16CC extends CommandClass_1.CommandClass {
let CRC16CC = class CRC16CC extends CommandClass_1.CommandClass {
/** Tests if a command should be supervised and thus requires encapsulation */

@@ -61,2 +62,3 @@ static requiresEncapsulation(cc) {

};
exports.CRC16CC = CRC16CC;
exports.CRC16CC = CRC16CC = __decorate([

@@ -71,3 +73,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["CRC-16 Encapsulation"]),

}
let CRC16CCCommandEncapsulation = exports.CRC16CCCommandEncapsulation = class CRC16CCCommandEncapsulation extends CRC16CC {
let CRC16CCCommandEncapsulation = class CRC16CCCommandEncapsulation extends CRC16CC {
constructor(host, options) {

@@ -77,3 +79,3 @@ super(host, options);

(0, safe_1.validatePayload)(this.payload.length >= 3);
const ccBuffer = this.payload.slice(0, -2);
const ccBuffer = this.payload.subarray(0, -2);
// Verify the CRC

@@ -122,2 +124,3 @@ let expectedCRC = (0, safe_1.CRC16_CCITT)(this.headerBuffer);

};
exports.CRC16CCCommandEncapsulation = CRC16CCCommandEncapsulation;
exports.CRC16CCCommandEncapsulation = CRC16CCCommandEncapsulation = __decorate([

@@ -124,0 +127,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.CRC16Command.CommandEncapsulation),

@@ -16,3 +16,3 @@ "use strict";

// @noInterview: There is no interview procedure
let DeviceResetLocallyCCAPI = exports.DeviceResetLocallyCCAPI = class DeviceResetLocallyCCAPI extends API_1.CCAPI {
let DeviceResetLocallyCCAPI = class DeviceResetLocallyCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -47,7 +47,9 @@ switch (cmd) {

};
exports.DeviceResetLocallyCCAPI = DeviceResetLocallyCCAPI;
exports.DeviceResetLocallyCCAPI = DeviceResetLocallyCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Device Reset Locally"])
], DeviceResetLocallyCCAPI);
let DeviceResetLocallyCC = exports.DeviceResetLocallyCC = class DeviceResetLocallyCC extends CommandClass_1.CommandClass {
let DeviceResetLocallyCC = class DeviceResetLocallyCC extends CommandClass_1.CommandClass {
};
exports.DeviceResetLocallyCC = DeviceResetLocallyCC;
exports.DeviceResetLocallyCC = DeviceResetLocallyCC = __decorate([

@@ -57,3 +59,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Device Reset Locally"]),

], DeviceResetLocallyCC);
let DeviceResetLocallyCCNotification = exports.DeviceResetLocallyCCNotification = class DeviceResetLocallyCCNotification extends DeviceResetLocallyCC {
let DeviceResetLocallyCCNotification = class DeviceResetLocallyCCNotification extends DeviceResetLocallyCC {
constructor(host, options) {

@@ -70,2 +72,3 @@ super(host, options);

};
exports.DeviceResetLocallyCCNotification = DeviceResetLocallyCCNotification;
exports.DeviceResetLocallyCCNotification = DeviceResetLocallyCCNotification = __decorate([

@@ -72,0 +75,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.DeviceResetLocallyCommand.Notification)

@@ -347,3 +347,3 @@ "use strict";

];
let DoorLockCCAPI = exports.DoorLockCCAPI = class DoorLockCCAPI extends API_1.PhysicalCCAPI {
let DoorLockCCAPI = class DoorLockCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -528,6 +528,7 @@ switch (cmd) {

};
exports.DoorLockCCAPI = DoorLockCCAPI;
exports.DoorLockCCAPI = DoorLockCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Door Lock"])
], DoorLockCCAPI);
let DoorLockCC = exports.DoorLockCC = class DoorLockCC extends CommandClass_1.CommandClass {
let DoorLockCC = class DoorLockCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -700,2 +701,3 @@ const node = this.getNode(applHost);

};
exports.DoorLockCC = DoorLockCC;
exports.DoorLockCC = DoorLockCC = __decorate([

@@ -706,3 +708,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Door Lock"]),

], DoorLockCC);
let DoorLockCCOperationSet = exports.DoorLockCCOperationSet = class DoorLockCCOperationSet extends DoorLockCC {
let DoorLockCCOperationSet = class DoorLockCCOperationSet extends DoorLockCC {
constructor(host, options) {

@@ -735,2 +737,3 @@ super(host, options);

};
exports.DoorLockCCOperationSet = DoorLockCCOperationSet;
exports.DoorLockCCOperationSet = DoorLockCCOperationSet = __decorate([

@@ -740,3 +743,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.DoorLockCommand.OperationSet),

], DoorLockCCOperationSet);
let DoorLockCCOperationReport = exports.DoorLockCCOperationReport = class DoorLockCCOperationReport extends DoorLockCC {
let DoorLockCCOperationReport = class DoorLockCCOperationReport extends DoorLockCC {
constructor(host, options) {

@@ -829,2 +832,3 @@ super(host, options);

};
exports.DoorLockCCOperationReport = DoorLockCCOperationReport;
__decorate([

@@ -851,4 +855,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.DoorLockCCValues.currentMode)

], DoorLockCCOperationReport);
let DoorLockCCOperationGet = exports.DoorLockCCOperationGet = class DoorLockCCOperationGet extends DoorLockCC {
let DoorLockCCOperationGet = class DoorLockCCOperationGet extends DoorLockCC {
};
exports.DoorLockCCOperationGet = DoorLockCCOperationGet;
exports.DoorLockCCOperationGet = DoorLockCCOperationGet = __decorate([

@@ -858,3 +863,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.DoorLockCommand.OperationGet),

], DoorLockCCOperationGet);
let DoorLockCCConfigurationReport = exports.DoorLockCCConfigurationReport = class DoorLockCCConfigurationReport extends DoorLockCC {
let DoorLockCCConfigurationReport = class DoorLockCCConfigurationReport extends DoorLockCC {
constructor(host, options) {

@@ -953,2 +958,3 @@ super(host, options);

};
exports.DoorLockCCConfigurationReport = DoorLockCCConfigurationReport;
__decorate([

@@ -969,4 +975,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.DoorLockCCValues.operationType)

], DoorLockCCConfigurationReport);
let DoorLockCCConfigurationGet = exports.DoorLockCCConfigurationGet = class DoorLockCCConfigurationGet extends DoorLockCC {
let DoorLockCCConfigurationGet = class DoorLockCCConfigurationGet extends DoorLockCC {
};
exports.DoorLockCCConfigurationGet = DoorLockCCConfigurationGet;
exports.DoorLockCCConfigurationGet = DoorLockCCConfigurationGet = __decorate([

@@ -976,3 +983,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.DoorLockCommand.ConfigurationGet),

], DoorLockCCConfigurationGet);
let DoorLockCCConfigurationSet = exports.DoorLockCCConfigurationSet = class DoorLockCCConfigurationSet extends DoorLockCC {
let DoorLockCCConfigurationSet = class DoorLockCCConfigurationSet extends DoorLockCC {
constructor(host, options) {

@@ -1087,2 +1094,3 @@ super(host, options);

};
exports.DoorLockCCConfigurationSet = DoorLockCCConfigurationSet;
exports.DoorLockCCConfigurationSet = DoorLockCCConfigurationSet = __decorate([

@@ -1092,3 +1100,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.DoorLockCommand.ConfigurationSet),

], DoorLockCCConfigurationSet);
let DoorLockCCCapabilitiesReport = exports.DoorLockCCCapabilitiesReport = class DoorLockCCCapabilitiesReport extends DoorLockCC {
let DoorLockCCCapabilitiesReport = class DoorLockCCCapabilitiesReport extends DoorLockCC {
constructor(host, options) {

@@ -1101,3 +1109,3 @@ super(host, options);

(0, safe_1.validatePayload)(this.payload.length >= offset + bitMaskLength + 1);
this.supportedOperationTypes = (0, safe_1.parseBitMask)(this.payload.slice(offset, offset + bitMaskLength),
this.supportedOperationTypes = (0, safe_1.parseBitMask)(this.payload.subarray(offset, offset + bitMaskLength),
// bit 0 is reserved, bitmask starts at 1

@@ -1111,3 +1119,3 @@ 0);

this.supportedDoorLockModes = [
...this.payload.slice(offset, offset + listLength),
...this.payload.subarray(offset, offset + listLength),
];

@@ -1171,2 +1179,3 @@ offset += listLength;

};
exports.DoorLockCCCapabilitiesReport = DoorLockCCCapabilitiesReport;
__decorate([

@@ -1193,4 +1202,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.DoorLockCCValues.supportedOutsideHandles)

], DoorLockCCCapabilitiesReport);
let DoorLockCCCapabilitiesGet = exports.DoorLockCCCapabilitiesGet = class DoorLockCCCapabilitiesGet extends DoorLockCC {
let DoorLockCCCapabilitiesGet = class DoorLockCCCapabilitiesGet extends DoorLockCC {
};
exports.DoorLockCCCapabilitiesGet = DoorLockCCCapabilitiesGet;
exports.DoorLockCCCapabilitiesGet = DoorLockCCCapabilitiesGet = __decorate([

@@ -1197,0 +1207,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.DoorLockCommand.CapabilitiesGet),

@@ -82,3 +82,3 @@ "use strict";

});
let DoorLockLoggingCCAPI = exports.DoorLockLoggingCCAPI = class DoorLockLoggingCCAPI extends API_1.PhysicalCCAPI {
let DoorLockLoggingCCAPI = class DoorLockLoggingCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -116,6 +116,7 @@ switch (cmd) {

};
exports.DoorLockLoggingCCAPI = DoorLockLoggingCCAPI;
exports.DoorLockLoggingCCAPI = DoorLockLoggingCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Door Lock Logging"])
], DoorLockLoggingCCAPI);
let DoorLockLoggingCC = exports.DoorLockLoggingCC = class DoorLockLoggingCC extends CommandClass_1.CommandClass {
let DoorLockLoggingCC = class DoorLockLoggingCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -160,2 +161,3 @@ const node = this.getNode(applHost);

};
exports.DoorLockLoggingCC = DoorLockLoggingCC;
exports.DoorLockLoggingCC = DoorLockLoggingCC = __decorate([

@@ -166,3 +168,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Door Lock Logging"]),

], DoorLockLoggingCC);
let DoorLockLoggingCCRecordsSupportedReport = exports.DoorLockLoggingCCRecordsSupportedReport = class DoorLockLoggingCCRecordsSupportedReport extends DoorLockLoggingCC {
let DoorLockLoggingCCRecordsSupportedReport = class DoorLockLoggingCCRecordsSupportedReport extends DoorLockLoggingCC {
constructor(host, options) {

@@ -183,2 +185,3 @@ super(host, options);

};
exports.DoorLockLoggingCCRecordsSupportedReport = DoorLockLoggingCCRecordsSupportedReport;
__decorate([

@@ -194,4 +197,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.DoorLockLoggingCCValues.recordsCount)

}
let DoorLockLoggingCCRecordsSupportedGet = exports.DoorLockLoggingCCRecordsSupportedGet = class DoorLockLoggingCCRecordsSupportedGet extends DoorLockLoggingCC {
let DoorLockLoggingCCRecordsSupportedGet = class DoorLockLoggingCCRecordsSupportedGet extends DoorLockLoggingCC {
};
exports.DoorLockLoggingCCRecordsSupportedGet = DoorLockLoggingCCRecordsSupportedGet;
exports.DoorLockLoggingCCRecordsSupportedGet = DoorLockLoggingCCRecordsSupportedGet = __decorate([

@@ -201,3 +205,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.DoorLockLoggingCommand.RecordsSupportedGet),

], DoorLockLoggingCCRecordsSupportedGet);
let DoorLockLoggingCCRecordReport = exports.DoorLockLoggingCCRecordReport = class DoorLockLoggingCCRecordReport extends DoorLockLoggingCC {
let DoorLockLoggingCCRecordReport = class DoorLockLoggingCCRecordReport extends DoorLockLoggingCC {
constructor(host, options) {

@@ -224,3 +228,3 @@ super(host, options);

(0, safe_1.validatePayload)(userCodeLength <= 10, this.payload.length >= 11 + userCodeLength);
const userCodeBuffer = this.payload.slice(11, 11 + userCodeLength);
const userCodeBuffer = this.payload.subarray(11, 11 + userCodeLength);
// See User Code CC for a detailed description. We try to parse the code as ASCII if possible

@@ -269,2 +273,3 @@ // and fall back to a buffer otherwise.

};
exports.DoorLockLoggingCCRecordReport = DoorLockLoggingCCRecordReport;
exports.DoorLockLoggingCCRecordReport = DoorLockLoggingCCRecordReport = __decorate([

@@ -277,3 +282,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.DoorLockLoggingCommand.RecordReport)

}
let DoorLockLoggingCCRecordGet = exports.DoorLockLoggingCCRecordGet = class DoorLockLoggingCCRecordGet extends DoorLockLoggingCC {
let DoorLockLoggingCCRecordGet = class DoorLockLoggingCCRecordGet extends DoorLockLoggingCC {
constructor(host, options) {

@@ -300,2 +305,3 @@ super(host, options);

};
exports.DoorLockLoggingCCRecordGet = DoorLockLoggingCCRecordGet;
exports.DoorLockLoggingCCRecordGet = DoorLockLoggingCCRecordGet = __decorate([

@@ -302,0 +308,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.DoorLockLoggingCommand.RecordGet),

@@ -42,3 +42,3 @@ "use strict";

});
let EnergyProductionCCAPI = exports.EnergyProductionCCAPI = class EnergyProductionCCAPI extends API_1.CCAPI {
let EnergyProductionCCAPI = class EnergyProductionCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -80,6 +80,7 @@ switch (cmd) {

};
exports.EnergyProductionCCAPI = EnergyProductionCCAPI;
exports.EnergyProductionCCAPI = EnergyProductionCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(core_1.CommandClasses["Energy Production"])
], EnergyProductionCCAPI);
let EnergyProductionCC = exports.EnergyProductionCC = class EnergyProductionCC extends CommandClass_1.CommandClass {
let EnergyProductionCC = class EnergyProductionCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -118,2 +119,3 @@ const node = this.getNode(applHost);

};
exports.EnergyProductionCC = EnergyProductionCC;
exports.EnergyProductionCC = EnergyProductionCC = __decorate([

@@ -124,3 +126,3 @@ (0, CommandClassDecorators_1.commandClass)(core_1.CommandClasses["Energy Production"]),

], EnergyProductionCC);
let EnergyProductionCCReport = exports.EnergyProductionCCReport = class EnergyProductionCCReport extends EnergyProductionCC {
let EnergyProductionCCReport = class EnergyProductionCCReport extends EnergyProductionCC {
constructor(host, options) {

@@ -131,3 +133,3 @@ super(host, options);

this.parameter = this.payload[0];
const { value, scale } = (0, core_1.parseFloatWithScale)(this.payload.slice(1));
const { value, scale } = (0, core_1.parseFloatWithScale)(this.payload.subarray(1));
this.value = value;

@@ -176,2 +178,3 @@ this.scale = (0, _Types_1.getEnergyProductionScale)(this.parameter, scale);

};
exports.EnergyProductionCCReport = EnergyProductionCCReport;
exports.EnergyProductionCCReport = EnergyProductionCCReport = __decorate([

@@ -183,3 +186,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.EnergyProductionCommand.Report)

}
let EnergyProductionCCGet = exports.EnergyProductionCCGet = class EnergyProductionCCGet extends EnergyProductionCC {
let EnergyProductionCCGet = class EnergyProductionCCGet extends EnergyProductionCC {
constructor(host, options) {

@@ -209,2 +212,3 @@ super(host, options);

};
exports.EnergyProductionCCGet = EnergyProductionCCGet;
exports.EnergyProductionCCGet = EnergyProductionCCGet = __decorate([

@@ -211,0 +215,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.EnergyProductionCommand.Get),

@@ -81,3 +81,3 @@ "use strict";

});
let EntryControlCCAPI = exports.EntryControlCCAPI = class EntryControlCCAPI extends API_1.CCAPI {
let EntryControlCCAPI = class EntryControlCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -184,6 +184,7 @@ switch (cmd) {

};
exports.EntryControlCCAPI = EntryControlCCAPI;
exports.EntryControlCCAPI = EntryControlCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Entry Control"])
], EntryControlCCAPI);
let EntryControlCC = exports.EntryControlCC = class EntryControlCC extends CommandClass_1.CommandClass {
let EntryControlCC = class EntryControlCC extends CommandClass_1.CommandClass {
determineRequiredCCInterviews() {

@@ -283,2 +284,3 @@ return [

};
exports.EntryControlCC = EntryControlCC;
exports.EntryControlCC = EntryControlCC = __decorate([

@@ -289,3 +291,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Entry Control"]),

], EntryControlCC);
let EntryControlCCNotification = exports.EntryControlCCNotification = class EntryControlCCNotification extends EntryControlCC {
let EntryControlCCNotification = class EntryControlCCNotification extends EntryControlCC {
constructor(host, options) {

@@ -306,3 +308,3 @@ super(host, options);

const noStrictValidation = !!this.host.getDeviceConfig?.(this.nodeId)?.compat?.disableStrictEntryControlDataValidation;
const eventData = Buffer.from(this.payload.slice(offset, offset + eventDataLength));
const eventData = Buffer.from(this.payload.subarray(offset, offset + eventDataLength));
switch (this.dataType) {

@@ -372,6 +374,7 @@ case _Types_1.EntryControlDataTypes.Raw:

};
exports.EntryControlCCNotification = EntryControlCCNotification;
exports.EntryControlCCNotification = EntryControlCCNotification = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.EntryControlCommand.Notification)
], EntryControlCCNotification);
let EntryControlCCKeySupportedReport = exports.EntryControlCCKeySupportedReport = class EntryControlCCKeySupportedReport extends EntryControlCC {
let EntryControlCCKeySupportedReport = class EntryControlCCKeySupportedReport extends EntryControlCC {
constructor(host, options) {

@@ -382,3 +385,3 @@ super(host, options);

(0, safe_1.validatePayload)(this.payload.length >= 1 + length);
this.supportedKeys = (0, safe_1.parseBitMask)(this.payload.slice(1, 1 + length), 0);
this.supportedKeys = (0, safe_1.parseBitMask)(this.payload.subarray(1, 1 + length), 0);
}

@@ -393,2 +396,3 @@ supportedKeys;

};
exports.EntryControlCCKeySupportedReport = EntryControlCCKeySupportedReport;
__decorate([

@@ -400,4 +404,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.EntryControlCCValues.supportedKeys)

], EntryControlCCKeySupportedReport);
let EntryControlCCKeySupportedGet = exports.EntryControlCCKeySupportedGet = class EntryControlCCKeySupportedGet extends EntryControlCC {
let EntryControlCCKeySupportedGet = class EntryControlCCKeySupportedGet extends EntryControlCC {
};
exports.EntryControlCCKeySupportedGet = EntryControlCCKeySupportedGet;
exports.EntryControlCCKeySupportedGet = EntryControlCCKeySupportedGet = __decorate([

@@ -407,3 +412,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.EntryControlCommand.KeySupportedGet),

], EntryControlCCKeySupportedGet);
let EntryControlCCEventSupportedReport = exports.EntryControlCCEventSupportedReport = class EntryControlCCEventSupportedReport extends EntryControlCC {
let EntryControlCCEventSupportedReport = class EntryControlCCEventSupportedReport extends EntryControlCC {
constructor(host, options) {

@@ -415,3 +420,3 @@ super(host, options);

(0, safe_1.validatePayload)(this.payload.length >= offset + dataTypeLength);
this.supportedDataTypes = (0, safe_1.parseBitMask)(this.payload.slice(offset, offset + dataTypeLength), _Types_1.EntryControlDataTypes.None);
this.supportedDataTypes = (0, safe_1.parseBitMask)(this.payload.subarray(offset, offset + dataTypeLength), _Types_1.EntryControlDataTypes.None);
offset += dataTypeLength;

@@ -422,3 +427,3 @@ (0, safe_1.validatePayload)(this.payload.length >= offset + 1);

(0, safe_1.validatePayload)(this.payload.length >= offset + eventTypeLength);
this.supportedEventTypes = (0, safe_1.parseBitMask)(this.payload.slice(offset, offset + eventTypeLength), _Types_1.EntryControlEventTypes.Caching);
this.supportedEventTypes = (0, safe_1.parseBitMask)(this.payload.subarray(offset, offset + eventTypeLength), _Types_1.EntryControlEventTypes.Caching);
offset += eventTypeLength;

@@ -476,2 +481,3 @@ (0, safe_1.validatePayload)(this.payload.length >= offset + 4);

};
exports.EntryControlCCEventSupportedReport = EntryControlCCEventSupportedReport;
__decorate([

@@ -486,4 +492,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.EntryControlCCValues.supportedDataTypes)

], EntryControlCCEventSupportedReport);
let EntryControlCCEventSupportedGet = exports.EntryControlCCEventSupportedGet = class EntryControlCCEventSupportedGet extends EntryControlCC {
let EntryControlCCEventSupportedGet = class EntryControlCCEventSupportedGet extends EntryControlCC {
};
exports.EntryControlCCEventSupportedGet = EntryControlCCEventSupportedGet;
exports.EntryControlCCEventSupportedGet = EntryControlCCEventSupportedGet = __decorate([

@@ -493,3 +500,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.EntryControlCommand.EventSupportedGet),

], EntryControlCCEventSupportedGet);
let EntryControlCCConfigurationReport = exports.EntryControlCCConfigurationReport = class EntryControlCCConfigurationReport extends EntryControlCC {
let EntryControlCCConfigurationReport = class EntryControlCCConfigurationReport extends EntryControlCC {
constructor(host, options) {

@@ -514,2 +521,3 @@ super(host, options);

};
exports.EntryControlCCConfigurationReport = EntryControlCCConfigurationReport;
__decorate([

@@ -524,4 +532,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.EntryControlCCValues.keyCacheSize)

], EntryControlCCConfigurationReport);
let EntryControlCCConfigurationGet = exports.EntryControlCCConfigurationGet = class EntryControlCCConfigurationGet extends EntryControlCC {
let EntryControlCCConfigurationGet = class EntryControlCCConfigurationGet extends EntryControlCC {
};
exports.EntryControlCCConfigurationGet = EntryControlCCConfigurationGet;
exports.EntryControlCCConfigurationGet = EntryControlCCConfigurationGet = __decorate([

@@ -531,3 +540,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.EntryControlCommand.ConfigurationGet),

], EntryControlCCConfigurationGet);
let EntryControlCCConfigurationSet = exports.EntryControlCCConfigurationSet = class EntryControlCCConfigurationSet extends EntryControlCC {
let EntryControlCCConfigurationSet = class EntryControlCCConfigurationSet extends EntryControlCC {
constructor(host, options) {

@@ -560,2 +569,3 @@ super(host, options);

};
exports.EntryControlCCConfigurationSet = EntryControlCCConfigurationSet;
exports.EntryControlCCConfigurationSet = EntryControlCCConfigurationSet = __decorate([

@@ -562,0 +572,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.EntryControlCommand.ConfigurationSet),

@@ -221,3 +221,3 @@ "use strict";

});
let FirmwareUpdateMetaDataCCAPI = exports.FirmwareUpdateMetaDataCCAPI = class FirmwareUpdateMetaDataCCAPI extends API_1.PhysicalCCAPI {
let FirmwareUpdateMetaDataCCAPI = class FirmwareUpdateMetaDataCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -322,6 +322,7 @@ switch (cmd) {

};
exports.FirmwareUpdateMetaDataCCAPI = FirmwareUpdateMetaDataCCAPI;
exports.FirmwareUpdateMetaDataCCAPI = FirmwareUpdateMetaDataCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Firmware Update Meta Data"])
], FirmwareUpdateMetaDataCCAPI);
let FirmwareUpdateMetaDataCC = exports.FirmwareUpdateMetaDataCC = class FirmwareUpdateMetaDataCC extends CommandClass_1.CommandClass {
let FirmwareUpdateMetaDataCC = class FirmwareUpdateMetaDataCC extends CommandClass_1.CommandClass {
skipEndpointInterview() {

@@ -375,2 +376,3 @@ return true;

};
exports.FirmwareUpdateMetaDataCC = FirmwareUpdateMetaDataCC;
exports.FirmwareUpdateMetaDataCC = FirmwareUpdateMetaDataCC = __decorate([

@@ -381,3 +383,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Firmware Update Meta Data"]),

], FirmwareUpdateMetaDataCC);
let FirmwareUpdateMetaDataCCMetaDataReport = exports.FirmwareUpdateMetaDataCCMetaDataReport = class FirmwareUpdateMetaDataCCMetaDataReport extends FirmwareUpdateMetaDataCC {
let FirmwareUpdateMetaDataCCMetaDataReport = class FirmwareUpdateMetaDataCCMetaDataReport extends FirmwareUpdateMetaDataCC {
constructor(host, options) {

@@ -455,2 +457,3 @@ super(host, options);

};
exports.FirmwareUpdateMetaDataCCMetaDataReport = FirmwareUpdateMetaDataCCMetaDataReport;
__decorate([

@@ -471,4 +474,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.FirmwareUpdateMetaDataCCValues.firmwareUpgradable)

], FirmwareUpdateMetaDataCCMetaDataReport);
let FirmwareUpdateMetaDataCCMetaDataGet = exports.FirmwareUpdateMetaDataCCMetaDataGet = class FirmwareUpdateMetaDataCCMetaDataGet extends FirmwareUpdateMetaDataCC {
let FirmwareUpdateMetaDataCCMetaDataGet = class FirmwareUpdateMetaDataCCMetaDataGet extends FirmwareUpdateMetaDataCC {
};
exports.FirmwareUpdateMetaDataCCMetaDataGet = FirmwareUpdateMetaDataCCMetaDataGet;
exports.FirmwareUpdateMetaDataCCMetaDataGet = FirmwareUpdateMetaDataCCMetaDataGet = __decorate([

@@ -478,3 +482,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.FirmwareUpdateMetaDataCommand.MetaDataGet),

], FirmwareUpdateMetaDataCCMetaDataGet);
let FirmwareUpdateMetaDataCCRequestReport = exports.FirmwareUpdateMetaDataCCRequestReport = class FirmwareUpdateMetaDataCCRequestReport extends FirmwareUpdateMetaDataCC {
let FirmwareUpdateMetaDataCCRequestReport = class FirmwareUpdateMetaDataCCRequestReport extends FirmwareUpdateMetaDataCC {
constructor(host, options) {

@@ -495,6 +499,7 @@ super(host, options);

};
exports.FirmwareUpdateMetaDataCCRequestReport = FirmwareUpdateMetaDataCCRequestReport;
exports.FirmwareUpdateMetaDataCCRequestReport = FirmwareUpdateMetaDataCCRequestReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.FirmwareUpdateMetaDataCommand.RequestReport)
], FirmwareUpdateMetaDataCCRequestReport);
let FirmwareUpdateMetaDataCCRequestGet = exports.FirmwareUpdateMetaDataCCRequestGet = class FirmwareUpdateMetaDataCCRequestGet extends FirmwareUpdateMetaDataCC {
let FirmwareUpdateMetaDataCCRequestGet = class FirmwareUpdateMetaDataCCRequestGet extends FirmwareUpdateMetaDataCC {
constructor(host, options) {

@@ -573,2 +578,3 @@ super(host, options);

};
exports.FirmwareUpdateMetaDataCCRequestGet = FirmwareUpdateMetaDataCCRequestGet;
exports.FirmwareUpdateMetaDataCCRequestGet = FirmwareUpdateMetaDataCCRequestGet = __decorate([

@@ -579,3 +585,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.FirmwareUpdateMetaDataCommand.RequestGet)

], FirmwareUpdateMetaDataCCRequestGet);
let FirmwareUpdateMetaDataCCGet = exports.FirmwareUpdateMetaDataCCGet = class FirmwareUpdateMetaDataCCGet extends FirmwareUpdateMetaDataCC {
let FirmwareUpdateMetaDataCCGet = class FirmwareUpdateMetaDataCCGet extends FirmwareUpdateMetaDataCC {
constructor(host, options) {

@@ -599,2 +605,3 @@ super(host, options);

};
exports.FirmwareUpdateMetaDataCCGet = FirmwareUpdateMetaDataCCGet;
exports.FirmwareUpdateMetaDataCCGet = FirmwareUpdateMetaDataCCGet = __decorate([

@@ -604,3 +611,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.FirmwareUpdateMetaDataCommand.Get)

], FirmwareUpdateMetaDataCCGet);
let FirmwareUpdateMetaDataCCReport = exports.FirmwareUpdateMetaDataCCReport = class FirmwareUpdateMetaDataCCReport extends FirmwareUpdateMetaDataCC {
let FirmwareUpdateMetaDataCCReport = class FirmwareUpdateMetaDataCCReport extends FirmwareUpdateMetaDataCC {
constructor(host, options) {

@@ -653,2 +660,3 @@ super(host, options);

};
exports.FirmwareUpdateMetaDataCCReport = FirmwareUpdateMetaDataCCReport;
exports.FirmwareUpdateMetaDataCCReport = FirmwareUpdateMetaDataCCReport = __decorate([

@@ -658,3 +666,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.FirmwareUpdateMetaDataCommand.Report)

], FirmwareUpdateMetaDataCCReport);
let FirmwareUpdateMetaDataCCStatusReport = exports.FirmwareUpdateMetaDataCCStatusReport = class FirmwareUpdateMetaDataCCStatusReport extends FirmwareUpdateMetaDataCC {
let FirmwareUpdateMetaDataCCStatusReport = class FirmwareUpdateMetaDataCCStatusReport extends FirmwareUpdateMetaDataCC {
constructor(host, options) {

@@ -684,6 +692,7 @@ super(host, options);

};
exports.FirmwareUpdateMetaDataCCStatusReport = FirmwareUpdateMetaDataCCStatusReport;
exports.FirmwareUpdateMetaDataCCStatusReport = FirmwareUpdateMetaDataCCStatusReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.FirmwareUpdateMetaDataCommand.StatusReport)
], FirmwareUpdateMetaDataCCStatusReport);
let FirmwareUpdateMetaDataCCActivationReport = exports.FirmwareUpdateMetaDataCCActivationReport = class FirmwareUpdateMetaDataCCActivationReport extends FirmwareUpdateMetaDataCC {
let FirmwareUpdateMetaDataCCActivationReport = class FirmwareUpdateMetaDataCCActivationReport extends FirmwareUpdateMetaDataCC {
constructor(host, options) {

@@ -724,6 +733,7 @@ super(host, options);

};
exports.FirmwareUpdateMetaDataCCActivationReport = FirmwareUpdateMetaDataCCActivationReport;
exports.FirmwareUpdateMetaDataCCActivationReport = FirmwareUpdateMetaDataCCActivationReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.FirmwareUpdateMetaDataCommand.ActivationReport)
], FirmwareUpdateMetaDataCCActivationReport);
let FirmwareUpdateMetaDataCCActivationSet = exports.FirmwareUpdateMetaDataCCActivationSet = class FirmwareUpdateMetaDataCCActivationSet extends FirmwareUpdateMetaDataCC {
let FirmwareUpdateMetaDataCCActivationSet = class FirmwareUpdateMetaDataCCActivationSet extends FirmwareUpdateMetaDataCC {
constructor(host, options) {

@@ -776,2 +786,3 @@ super(host, options);

};
exports.FirmwareUpdateMetaDataCCActivationSet = FirmwareUpdateMetaDataCCActivationSet;
exports.FirmwareUpdateMetaDataCCActivationSet = FirmwareUpdateMetaDataCCActivationSet = __decorate([

@@ -781,3 +792,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.FirmwareUpdateMetaDataCommand.ActivationSet),

], FirmwareUpdateMetaDataCCActivationSet);
let FirmwareUpdateMetaDataCCPrepareReport = exports.FirmwareUpdateMetaDataCCPrepareReport = class FirmwareUpdateMetaDataCCPrepareReport extends FirmwareUpdateMetaDataCC {
let FirmwareUpdateMetaDataCCPrepareReport = class FirmwareUpdateMetaDataCCPrepareReport extends FirmwareUpdateMetaDataCC {
constructor(host, options) {

@@ -801,6 +812,7 @@ super(host, options);

};
exports.FirmwareUpdateMetaDataCCPrepareReport = FirmwareUpdateMetaDataCCPrepareReport;
exports.FirmwareUpdateMetaDataCCPrepareReport = FirmwareUpdateMetaDataCCPrepareReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.FirmwareUpdateMetaDataCommand.PrepareReport)
], FirmwareUpdateMetaDataCCPrepareReport);
let FirmwareUpdateMetaDataCCPrepareGet = exports.FirmwareUpdateMetaDataCCPrepareGet = class FirmwareUpdateMetaDataCCPrepareGet extends FirmwareUpdateMetaDataCC {
let FirmwareUpdateMetaDataCCPrepareGet = class FirmwareUpdateMetaDataCCPrepareGet extends FirmwareUpdateMetaDataCC {
constructor(host, options) {

@@ -847,2 +859,3 @@ super(host, options);

};
exports.FirmwareUpdateMetaDataCCPrepareGet = FirmwareUpdateMetaDataCCPrepareGet;
exports.FirmwareUpdateMetaDataCCPrepareGet = FirmwareUpdateMetaDataCCPrepareGet = __decorate([

@@ -849,0 +862,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.FirmwareUpdateMetaDataCommand.PrepareGet),

@@ -16,4 +16,5 @@ "use strict";

// it must come before @commandClass
let HailCC = exports.HailCC = class HailCC extends CommandClass_1.CommandClass {
let HailCC = class HailCC extends CommandClass_1.CommandClass {
};
exports.HailCC = HailCC;
exports.HailCC = HailCC = __decorate([

@@ -20,0 +21,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.HailCommand.Hail),

@@ -39,3 +39,3 @@ "use strict";

});
let HumidityControlModeCCAPI = exports.HumidityControlModeCCAPI = class HumidityControlModeCCAPI extends API_1.CCAPI {
let HumidityControlModeCCAPI = class HumidityControlModeCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -110,6 +110,7 @@ switch (cmd) {

};
exports.HumidityControlModeCCAPI = HumidityControlModeCCAPI;
exports.HumidityControlModeCCAPI = HumidityControlModeCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Humidity Control Mode"])
], HumidityControlModeCCAPI);
let HumidityControlModeCC = exports.HumidityControlModeCC = class HumidityControlModeCC extends CommandClass_1.CommandClass {
let HumidityControlModeCC = class HumidityControlModeCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -178,2 +179,3 @@ const node = this.getNode(applHost);

};
exports.HumidityControlModeCC = HumidityControlModeCC;
exports.HumidityControlModeCC = HumidityControlModeCC = __decorate([

@@ -184,3 +186,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Humidity Control Mode"]),

], HumidityControlModeCC);
let HumidityControlModeCCSet = exports.HumidityControlModeCCSet = class HumidityControlModeCCSet extends HumidityControlModeCC {
let HumidityControlModeCCSet = class HumidityControlModeCCSet extends HumidityControlModeCC {
constructor(host, options) {

@@ -210,2 +212,3 @@ super(host, options);

};
exports.HumidityControlModeCCSet = HumidityControlModeCCSet;
exports.HumidityControlModeCCSet = HumidityControlModeCCSet = __decorate([

@@ -215,3 +218,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.HumidityControlModeCommand.Set),

], HumidityControlModeCCSet);
let HumidityControlModeCCReport = exports.HumidityControlModeCCReport = class HumidityControlModeCCReport extends HumidityControlModeCC {
let HumidityControlModeCCReport = class HumidityControlModeCCReport extends HumidityControlModeCC {
constructor(host, options) {

@@ -232,2 +235,3 @@ super(host, options);

};
exports.HumidityControlModeCCReport = HumidityControlModeCCReport;
__decorate([

@@ -239,4 +243,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.HumidityControlModeCCValues.mode)

], HumidityControlModeCCReport);
let HumidityControlModeCCGet = exports.HumidityControlModeCCGet = class HumidityControlModeCCGet extends HumidityControlModeCC {
let HumidityControlModeCCGet = class HumidityControlModeCCGet extends HumidityControlModeCC {
};
exports.HumidityControlModeCCGet = HumidityControlModeCCGet;
exports.HumidityControlModeCCGet = HumidityControlModeCCGet = __decorate([

@@ -246,3 +251,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.HumidityControlModeCommand.Get),

], HumidityControlModeCCGet);
let HumidityControlModeCCSupportedReport = exports.HumidityControlModeCCSupportedReport = class HumidityControlModeCCSupportedReport extends HumidityControlModeCC {
let HumidityControlModeCCSupportedReport = class HumidityControlModeCCSupportedReport extends HumidityControlModeCC {
constructor(host, options) {

@@ -282,2 +287,3 @@ super(host, options);

};
exports.HumidityControlModeCCSupportedReport = HumidityControlModeCCSupportedReport;
__decorate([

@@ -289,4 +295,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.HumidityControlModeCCValues.supportedModes)

], HumidityControlModeCCSupportedReport);
let HumidityControlModeCCSupportedGet = exports.HumidityControlModeCCSupportedGet = class HumidityControlModeCCSupportedGet extends HumidityControlModeCC {
let HumidityControlModeCCSupportedGet = class HumidityControlModeCCSupportedGet extends HumidityControlModeCC {
};
exports.HumidityControlModeCCSupportedGet = HumidityControlModeCCSupportedGet;
exports.HumidityControlModeCCSupportedGet = HumidityControlModeCCSupportedGet = __decorate([

@@ -293,0 +300,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.HumidityControlModeCommand.SupportedGet),

@@ -26,3 +26,3 @@ "use strict";

});
let HumidityControlOperatingStateCCAPI = exports.HumidityControlOperatingStateCCAPI = class HumidityControlOperatingStateCCAPI extends API_1.CCAPI {
let HumidityControlOperatingStateCCAPI = class HumidityControlOperatingStateCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -57,6 +57,7 @@ switch (cmd) {

};
exports.HumidityControlOperatingStateCCAPI = HumidityControlOperatingStateCCAPI;
exports.HumidityControlOperatingStateCCAPI = HumidityControlOperatingStateCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Humidity Control Operating State"])
], HumidityControlOperatingStateCCAPI);
let HumidityControlOperatingStateCC = exports.HumidityControlOperatingStateCC = class HumidityControlOperatingStateCC extends CommandClass_1.CommandClass {
let HumidityControlOperatingStateCC = class HumidityControlOperatingStateCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -96,2 +97,3 @@ const node = this.getNode(applHost);

};
exports.HumidityControlOperatingStateCC = HumidityControlOperatingStateCC;
exports.HumidityControlOperatingStateCC = HumidityControlOperatingStateCC = __decorate([

@@ -102,3 +104,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Humidity Control Operating State"]),

], HumidityControlOperatingStateCC);
let HumidityControlOperatingStateCCReport = exports.HumidityControlOperatingStateCCReport = class HumidityControlOperatingStateCCReport extends HumidityControlOperatingStateCC {
let HumidityControlOperatingStateCCReport = class HumidityControlOperatingStateCCReport extends HumidityControlOperatingStateCC {
constructor(host, options) {

@@ -119,2 +121,3 @@ super(host, options);

};
exports.HumidityControlOperatingStateCCReport = HumidityControlOperatingStateCCReport;
__decorate([

@@ -126,4 +129,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.HumidityControlOperatingStateCCValues.state)

], HumidityControlOperatingStateCCReport);
let HumidityControlOperatingStateCCGet = exports.HumidityControlOperatingStateCCGet = class HumidityControlOperatingStateCCGet extends HumidityControlOperatingStateCC {
let HumidityControlOperatingStateCCGet = class HumidityControlOperatingStateCCGet extends HumidityControlOperatingStateCC {
};
exports.HumidityControlOperatingStateCCGet = HumidityControlOperatingStateCCGet;
exports.HumidityControlOperatingStateCCGet = HumidityControlOperatingStateCCGet = __decorate([

@@ -130,0 +134,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.HumidityControlOperatingStateCommand.Get),

@@ -55,3 +55,3 @@ "use strict";

}
let HumidityControlSetpointCCAPI = exports.HumidityControlSetpointCCAPI = class HumidityControlSetpointCCAPI extends API_1.CCAPI {
let HumidityControlSetpointCCAPI = class HumidityControlSetpointCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -177,6 +177,7 @@ switch (cmd) {

};
exports.HumidityControlSetpointCCAPI = HumidityControlSetpointCCAPI;
exports.HumidityControlSetpointCCAPI = HumidityControlSetpointCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Humidity Control Setpoint"])
], HumidityControlSetpointCCAPI);
let HumidityControlSetpointCC = exports.HumidityControlSetpointCC = class HumidityControlSetpointCC extends CommandClass_1.CommandClass {
let HumidityControlSetpointCC = class HumidityControlSetpointCC extends CommandClass_1.CommandClass {
translatePropertyKey(applHost, property, propertyKey) {

@@ -309,2 +310,3 @@ if (property === "setpoint") {

};
exports.HumidityControlSetpointCC = HumidityControlSetpointCC;
exports.HumidityControlSetpointCC = HumidityControlSetpointCC = __decorate([

@@ -315,3 +317,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Humidity Control Setpoint"]),

], HumidityControlSetpointCC);
let HumidityControlSetpointCCSet = exports.HumidityControlSetpointCCSet = class HumidityControlSetpointCCSet extends HumidityControlSetpointCC {
let HumidityControlSetpointCCSet = class HumidityControlSetpointCCSet extends HumidityControlSetpointCC {
constructor(host, options) {

@@ -350,2 +352,3 @@ super(host, options);

};
exports.HumidityControlSetpointCCSet = HumidityControlSetpointCCSet;
exports.HumidityControlSetpointCCSet = HumidityControlSetpointCCSet = __decorate([

@@ -355,3 +358,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.HumidityControlSetpointCommand.Set),

], HumidityControlSetpointCCSet);
let HumidityControlSetpointCCReport = exports.HumidityControlSetpointCCReport = class HumidityControlSetpointCCReport extends HumidityControlSetpointCC {
let HumidityControlSetpointCCReport = class HumidityControlSetpointCCReport extends HumidityControlSetpointCC {
constructor(host, options) {

@@ -369,3 +372,3 @@ super(host, options);

// parseFloatWithScale does its own validation
const { value, scale } = (0, safe_1.parseFloatWithScale)(this.payload.slice(1));
const { value, scale } = (0, safe_1.parseFloatWithScale)(this.payload.subarray(1));
this._value = value;

@@ -412,2 +415,3 @@ this.scale = scale;

};
exports.HumidityControlSetpointCCReport = HumidityControlSetpointCCReport;
exports.HumidityControlSetpointCCReport = HumidityControlSetpointCCReport = __decorate([

@@ -420,3 +424,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.HumidityControlSetpointCommand.Report)

}
let HumidityControlSetpointCCGet = exports.HumidityControlSetpointCCGet = class HumidityControlSetpointCCGet extends HumidityControlSetpointCC {
let HumidityControlSetpointCCGet = class HumidityControlSetpointCCGet extends HumidityControlSetpointCC {
constructor(host, options) {

@@ -446,2 +450,3 @@ super(host, options);

};
exports.HumidityControlSetpointCCGet = HumidityControlSetpointCCGet;
exports.HumidityControlSetpointCCGet = HumidityControlSetpointCCGet = __decorate([

@@ -451,3 +456,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.HumidityControlSetpointCommand.Get),

], HumidityControlSetpointCCGet);
let HumidityControlSetpointCCSupportedReport = exports.HumidityControlSetpointCCSupportedReport = class HumidityControlSetpointCCSupportedReport extends HumidityControlSetpointCC {
let HumidityControlSetpointCCSupportedReport = class HumidityControlSetpointCCSupportedReport extends HumidityControlSetpointCC {
constructor(host, options) {

@@ -470,2 +475,3 @@ super(host, options);

};
exports.HumidityControlSetpointCCSupportedReport = HumidityControlSetpointCCSupportedReport;
__decorate([

@@ -477,4 +483,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.HumidityControlSetpointCCValues.supportedSetpointTypes)

], HumidityControlSetpointCCSupportedReport);
let HumidityControlSetpointCCSupportedGet = exports.HumidityControlSetpointCCSupportedGet = class HumidityControlSetpointCCSupportedGet extends HumidityControlSetpointCC {
let HumidityControlSetpointCCSupportedGet = class HumidityControlSetpointCCSupportedGet extends HumidityControlSetpointCC {
};
exports.HumidityControlSetpointCCSupportedGet = HumidityControlSetpointCCSupportedGet;
exports.HumidityControlSetpointCCSupportedGet = HumidityControlSetpointCCSupportedGet = __decorate([

@@ -484,3 +491,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.HumidityControlSetpointCommand.SupportedGet),

], HumidityControlSetpointCCSupportedGet);
let HumidityControlSetpointCCScaleSupportedReport = exports.HumidityControlSetpointCCScaleSupportedReport = class HumidityControlSetpointCCScaleSupportedReport extends HumidityControlSetpointCC {
let HumidityControlSetpointCCScaleSupportedReport = class HumidityControlSetpointCCScaleSupportedReport extends HumidityControlSetpointCC {
constructor(host, options) {

@@ -504,6 +511,7 @@ super(host, options);

};
exports.HumidityControlSetpointCCScaleSupportedReport = HumidityControlSetpointCCScaleSupportedReport;
exports.HumidityControlSetpointCCScaleSupportedReport = HumidityControlSetpointCCScaleSupportedReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.HumidityControlSetpointCommand.ScaleSupportedReport)
], HumidityControlSetpointCCScaleSupportedReport);
let HumidityControlSetpointCCScaleSupportedGet = exports.HumidityControlSetpointCCScaleSupportedGet = class HumidityControlSetpointCCScaleSupportedGet extends HumidityControlSetpointCC {
let HumidityControlSetpointCCScaleSupportedGet = class HumidityControlSetpointCCScaleSupportedGet extends HumidityControlSetpointCC {
constructor(host, options) {

@@ -533,2 +541,3 @@ super(host, options);

};
exports.HumidityControlSetpointCCScaleSupportedGet = HumidityControlSetpointCCScaleSupportedGet;
exports.HumidityControlSetpointCCScaleSupportedGet = HumidityControlSetpointCCScaleSupportedGet = __decorate([

@@ -538,3 +547,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.HumidityControlSetpointCommand.ScaleSupportedGet),

], HumidityControlSetpointCCScaleSupportedGet);
let HumidityControlSetpointCCCapabilitiesReport = exports.HumidityControlSetpointCCCapabilitiesReport = class HumidityControlSetpointCCCapabilitiesReport extends HumidityControlSetpointCC {
let HumidityControlSetpointCCCapabilitiesReport = class HumidityControlSetpointCCCapabilitiesReport extends HumidityControlSetpointCC {
constructor(host, options) {

@@ -550,5 +559,5 @@ super(host, options);

bytesRead,
} = (0, safe_1.parseFloatWithScale)(this.payload.slice(1)));
} = (0, safe_1.parseFloatWithScale)(this.payload.subarray(1)));
({ value: this._maxValue, scale: this._maxValueScale } =
(0, safe_1.parseFloatWithScale)(this.payload.slice(1 + bytesRead)));
(0, safe_1.parseFloatWithScale)(this.payload.subarray(1 + bytesRead)));
}

@@ -602,6 +611,7 @@ persistValues(applHost) {

};
exports.HumidityControlSetpointCCCapabilitiesReport = HumidityControlSetpointCCCapabilitiesReport;
exports.HumidityControlSetpointCCCapabilitiesReport = HumidityControlSetpointCCCapabilitiesReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.HumidityControlSetpointCommand.CapabilitiesReport)
], HumidityControlSetpointCCCapabilitiesReport);
let HumidityControlSetpointCCCapabilitiesGet = exports.HumidityControlSetpointCCCapabilitiesGet = class HumidityControlSetpointCCCapabilitiesGet extends HumidityControlSetpointCC {
let HumidityControlSetpointCCCapabilitiesGet = class HumidityControlSetpointCCCapabilitiesGet extends HumidityControlSetpointCC {
constructor(host, options) {

@@ -631,2 +641,3 @@ super(host, options);

};
exports.HumidityControlSetpointCCCapabilitiesGet = HumidityControlSetpointCCCapabilitiesGet;
exports.HumidityControlSetpointCCCapabilitiesGet = HumidityControlSetpointCCCapabilitiesGet = __decorate([

@@ -633,0 +644,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.HumidityControlSetpointCommand.CapabilitiesGet),

@@ -16,4 +16,5 @@ "use strict";

const _Types_1 = require("../lib/_Types");
let InclusionControllerCC = exports.InclusionControllerCC = class InclusionControllerCC extends CommandClass_1.CommandClass {
let InclusionControllerCC = class InclusionControllerCC extends CommandClass_1.CommandClass {
};
exports.InclusionControllerCC = InclusionControllerCC;
exports.InclusionControllerCC = InclusionControllerCC = __decorate([

@@ -23,3 +24,3 @@ (0, CommandClassDecorators_1.commandClass)(core_1.CommandClasses["Inclusion Controller"]),

], InclusionControllerCC);
let InclusionControllerCCAPI = exports.InclusionControllerCCAPI = class InclusionControllerCCAPI extends API_1.CCAPI {
let InclusionControllerCCAPI = class InclusionControllerCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -56,6 +57,7 @@ switch (cmd) {

};
exports.InclusionControllerCCAPI = InclusionControllerCCAPI;
exports.InclusionControllerCCAPI = InclusionControllerCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(core_1.CommandClasses["Inclusion Controller"])
], InclusionControllerCCAPI);
let InclusionControllerCCComplete = exports.InclusionControllerCCComplete = class InclusionControllerCCComplete extends InclusionControllerCC {
let InclusionControllerCCComplete = class InclusionControllerCCComplete extends InclusionControllerCC {
constructor(host, options) {

@@ -90,6 +92,7 @@ super(host, options);

};
exports.InclusionControllerCCComplete = InclusionControllerCCComplete;
exports.InclusionControllerCCComplete = InclusionControllerCCComplete = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.InclusionControllerCommand.Complete)
], InclusionControllerCCComplete);
let InclusionControllerCCInitiate = exports.InclusionControllerCCInitiate = class InclusionControllerCCInitiate extends InclusionControllerCC {
let InclusionControllerCCInitiate = class InclusionControllerCCInitiate extends InclusionControllerCC {
constructor(host, options) {

@@ -124,2 +127,3 @@ super(host, options);

};
exports.InclusionControllerCCInitiate = InclusionControllerCCInitiate;
exports.InclusionControllerCCInitiate = InclusionControllerCCInitiate = __decorate([

@@ -126,0 +130,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.InclusionControllerCommand.Initiate)

@@ -268,3 +268,3 @@ "use strict";

const MAX_INDICATOR_OBJECTS = 31;
let IndicatorCCAPI = exports.IndicatorCCAPI = class IndicatorCCAPI extends API_1.CCAPI {
let IndicatorCCAPI = class IndicatorCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -518,6 +518,7 @@ switch (cmd) {

};
exports.IndicatorCCAPI = IndicatorCCAPI;
exports.IndicatorCCAPI = IndicatorCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Indicator)
], IndicatorCCAPI);
let IndicatorCC = exports.IndicatorCC = class IndicatorCC extends CommandClass_1.CommandClass {
let IndicatorCC = class IndicatorCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -647,2 +648,3 @@ const node = this.getNode(applHost);

};
exports.IndicatorCC = IndicatorCC;
exports.IndicatorCC = IndicatorCC = __decorate([

@@ -653,3 +655,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Indicator),

], IndicatorCC);
let IndicatorCCSet = exports.IndicatorCCSet = class IndicatorCCSet extends IndicatorCC {
let IndicatorCCSet = class IndicatorCCSet extends IndicatorCC {
constructor(host, options) {

@@ -746,2 +748,3 @@ super(host, options);

};
exports.IndicatorCCSet = IndicatorCCSet;
exports.IndicatorCCSet = IndicatorCCSet = __decorate([

@@ -751,3 +754,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.IndicatorCommand.Set),

], IndicatorCCSet);
let IndicatorCCReport = exports.IndicatorCCReport = class IndicatorCCReport extends IndicatorCC {
let IndicatorCCReport = class IndicatorCCReport extends IndicatorCC {
constructor(host, options) {

@@ -916,6 +919,7 @@ super(host, options);

};
exports.IndicatorCCReport = IndicatorCCReport;
exports.IndicatorCCReport = IndicatorCCReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.IndicatorCommand.Report)
], IndicatorCCReport);
let IndicatorCCGet = exports.IndicatorCCGet = class IndicatorCCGet extends IndicatorCC {
let IndicatorCCGet = class IndicatorCCGet extends IndicatorCC {
constructor(host, options) {

@@ -948,2 +952,3 @@ super(host, options);

};
exports.IndicatorCCGet = IndicatorCCGet;
exports.IndicatorCCGet = IndicatorCCGet = __decorate([

@@ -953,3 +958,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.IndicatorCommand.Get),

], IndicatorCCGet);
let IndicatorCCSupportedReport = exports.IndicatorCCSupportedReport = class IndicatorCCSupportedReport extends IndicatorCC {
let IndicatorCCSupportedReport = class IndicatorCCSupportedReport extends IndicatorCC {
constructor(host, options) {

@@ -968,3 +973,3 @@ super(host, options);

// The bit mask starts at 0, but bit 0 is not used
this.supportedProperties = (0, safe_1.parseBitMask)(this.payload.slice(3, 3 + bitMaskLength), 0).filter((v) => v !== 0);
this.supportedProperties = (0, safe_1.parseBitMask)(this.payload.subarray(3, 3 + bitMaskLength), 0).filter((v) => v !== 0);
}

@@ -1018,2 +1023,3 @@ }

};
exports.IndicatorCCSupportedReport = IndicatorCCSupportedReport;
exports.IndicatorCCSupportedReport = IndicatorCCSupportedReport = __decorate([

@@ -1025,3 +1031,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.IndicatorCommand.SupportedReport)

}
let IndicatorCCSupportedGet = exports.IndicatorCCSupportedGet = class IndicatorCCSupportedGet extends IndicatorCC {
let IndicatorCCSupportedGet = class IndicatorCCSupportedGet extends IndicatorCC {
constructor(host, options) {

@@ -1051,2 +1057,3 @@ super(host, options);

};
exports.IndicatorCCSupportedGet = IndicatorCCSupportedGet;
exports.IndicatorCCSupportedGet = IndicatorCCSupportedGet = __decorate([

@@ -1056,3 +1063,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.IndicatorCommand.SupportedGet),

], IndicatorCCSupportedGet);
let IndicatorCCDescriptionReport = exports.IndicatorCCDescriptionReport = class IndicatorCCDescriptionReport extends IndicatorCC {
let IndicatorCCDescriptionReport = class IndicatorCCDescriptionReport extends IndicatorCC {
constructor(host, options) {

@@ -1065,3 +1072,3 @@ super(host, options);

this.description = this.payload
.slice(2, 2 + descrptionLength)
.subarray(2, 2 + descrptionLength)
.toString("utf8");

@@ -1089,2 +1096,3 @@ }

};
exports.IndicatorCCDescriptionReport = IndicatorCCDescriptionReport;
exports.IndicatorCCDescriptionReport = IndicatorCCDescriptionReport = __decorate([

@@ -1096,3 +1104,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.IndicatorCommand.DescriptionReport)

}
let IndicatorCCDescriptionGet = exports.IndicatorCCDescriptionGet = class IndicatorCCDescriptionGet extends IndicatorCC {
let IndicatorCCDescriptionGet = class IndicatorCCDescriptionGet extends IndicatorCC {
constructor(host, options) {

@@ -1125,2 +1133,3 @@ super(host, options);

};
exports.IndicatorCCDescriptionGet = IndicatorCCDescriptionGet;
exports.IndicatorCCDescriptionGet = IndicatorCCDescriptionGet = __decorate([

@@ -1127,0 +1136,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.IndicatorCommand.DescriptionGet),

@@ -56,3 +56,3 @@ "use strict";

// @noSetValueAPI It doesn't make sense
let LanguageCCAPI = exports.LanguageCCAPI = class LanguageCCAPI extends API_1.CCAPI {
let LanguageCCAPI = class LanguageCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -92,6 +92,7 @@ switch (cmd) {

};
exports.LanguageCCAPI = LanguageCCAPI;
exports.LanguageCCAPI = LanguageCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Language)
], LanguageCCAPI);
let LanguageCC = exports.LanguageCC = class LanguageCC extends CommandClass_1.CommandClass {
let LanguageCC = class LanguageCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -129,2 +130,3 @@ const node = this.getNode(applHost);

};
exports.LanguageCC = LanguageCC;
exports.LanguageCC = LanguageCC = __decorate([

@@ -135,3 +137,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Language),

], LanguageCC);
let LanguageCCSet = exports.LanguageCCSet = class LanguageCCSet extends LanguageCC {
let LanguageCCSet = class LanguageCCSet extends LanguageCC {
constructor(host, options) {

@@ -188,2 +190,3 @@ super(host, options);

};
exports.LanguageCCSet = LanguageCCSet;
exports.LanguageCCSet = LanguageCCSet = __decorate([

@@ -193,3 +196,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.LanguageCommand.Set),

], LanguageCCSet);
let LanguageCCReport = exports.LanguageCCReport = class LanguageCCReport extends LanguageCC {
let LanguageCCReport = class LanguageCCReport extends LanguageCC {
constructor(host, options) {

@@ -218,2 +221,3 @@ super(host, options);

};
exports.LanguageCCReport = LanguageCCReport;
__decorate([

@@ -228,4 +232,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.LanguageCCValues.language)

], LanguageCCReport);
let LanguageCCGet = exports.LanguageCCGet = class LanguageCCGet extends LanguageCC {
let LanguageCCGet = class LanguageCCGet extends LanguageCC {
};
exports.LanguageCCGet = LanguageCCGet;
exports.LanguageCCGet = LanguageCCGet = __decorate([

@@ -232,0 +237,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.LanguageCommand.Get),

@@ -37,3 +37,3 @@ "use strict";

});
let LockCCAPI = exports.LockCCAPI = class LockCCAPI extends API_1.PhysicalCCAPI {
let LockCCAPI = class LockCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -94,6 +94,7 @@ switch (cmd) {

};
exports.LockCCAPI = LockCCAPI;
exports.LockCCAPI = LockCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Lock)
], LockCCAPI);
let LockCC = exports.LockCC = class LockCC extends CommandClass_1.CommandClass {
let LockCC = class LockCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -128,2 +129,3 @@ const node = this.getNode(applHost);

};
exports.LockCC = LockCC;
exports.LockCC = LockCC = __decorate([

@@ -134,3 +136,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Lock),

], LockCC);
let LockCCSet = exports.LockCCSet = class LockCCSet extends LockCC {
let LockCCSet = class LockCCSet extends LockCC {
constructor(host, options) {

@@ -158,2 +160,3 @@ super(host, options);

};
exports.LockCCSet = LockCCSet;
exports.LockCCSet = LockCCSet = __decorate([

@@ -163,3 +166,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.LockCommand.Set),

], LockCCSet);
let LockCCReport = exports.LockCCReport = class LockCCReport extends LockCC {
let LockCCReport = class LockCCReport extends LockCC {
constructor(host, options) {

@@ -178,2 +181,3 @@ super(host, options);

};
exports.LockCCReport = LockCCReport;
__decorate([

@@ -185,4 +189,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.LockCCValues.locked)

], LockCCReport);
let LockCCGet = exports.LockCCGet = class LockCCGet extends LockCC {
let LockCCGet = class LockCCGet extends LockCC {
};
exports.LockCCGet = LockCCGet;
exports.LockCCGet = LockCCGet = __decorate([

@@ -189,0 +194,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.LockCommand.Get),

@@ -71,3 +71,3 @@ "use strict";

})(FibaroCCIDs || (exports.FibaroCCIDs = FibaroCCIDs = {}));
let FibaroCCAPI = exports.FibaroCCAPI = class FibaroCCAPI extends ManufacturerProprietaryCC_1.ManufacturerProprietaryCCAPI {
let FibaroCCAPI = class FibaroCCAPI extends ManufacturerProprietaryCC_1.ManufacturerProprietaryCCAPI {
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types

@@ -147,6 +147,7 @@ async fibaroVenetianBlindsGet() {

};
exports.FibaroCCAPI = FibaroCCAPI;
exports.FibaroCCAPI = FibaroCCAPI = __decorate([
(0, Decorators_1.manufacturerProprietaryAPI)(exports.MANUFACTURERID_FIBARO)
], FibaroCCAPI);
let FibaroCC = exports.FibaroCC = class FibaroCC extends ManufacturerProprietaryCC_1.ManufacturerProprietaryCC {
let FibaroCC = class FibaroCC extends ManufacturerProprietaryCC_1.ManufacturerProprietaryCC {
constructor(host, options) {

@@ -163,3 +164,3 @@ super(host, options);

}
this.payload = this.payload.slice(2);
this.payload = this.payload.subarray(2);
}

@@ -223,2 +224,3 @@ else {

};
exports.FibaroCC = FibaroCC;
exports.FibaroCC = FibaroCC = __decorate([

@@ -233,3 +235,3 @@ (0, Decorators_1.manufacturerId)(exports.MANUFACTURERID_FIBARO)

})(FibaroVenetianBlindCCCommand || (exports.FibaroVenetianBlindCCCommand = FibaroVenetianBlindCCCommand = {}));
let FibaroVenetianBlindCC = exports.FibaroVenetianBlindCC = class FibaroVenetianBlindCC extends FibaroCC {
let FibaroVenetianBlindCC = class FibaroVenetianBlindCC extends FibaroCC {
constructor(host, options) {

@@ -276,6 +278,7 @@ super(host, options);

};
exports.FibaroVenetianBlindCC = FibaroVenetianBlindCC;
exports.FibaroVenetianBlindCC = FibaroVenetianBlindCC = __decorate([
(0, Decorators_1.fibaroCC)(FibaroCCIDs.VenetianBlind)
], FibaroVenetianBlindCC);
let FibaroVenetianBlindCCSet = exports.FibaroVenetianBlindCCSet = class FibaroVenetianBlindCCSet extends FibaroVenetianBlindCC {
let FibaroVenetianBlindCCSet = class FibaroVenetianBlindCCSet extends FibaroVenetianBlindCC {
constructor(host, options) {

@@ -321,6 +324,7 @@ super(host, options);

};
exports.FibaroVenetianBlindCCSet = FibaroVenetianBlindCCSet;
exports.FibaroVenetianBlindCCSet = FibaroVenetianBlindCCSet = __decorate([
(0, Decorators_1.fibaroCCCommand)(FibaroVenetianBlindCCCommand.Set)
], FibaroVenetianBlindCCSet);
let FibaroVenetianBlindCCReport = exports.FibaroVenetianBlindCCReport = class FibaroVenetianBlindCCReport extends FibaroVenetianBlindCC {
let FibaroVenetianBlindCCReport = class FibaroVenetianBlindCCReport extends FibaroVenetianBlindCC {
constructor(host, options) {

@@ -383,6 +387,7 @@ super(host, options);

};
exports.FibaroVenetianBlindCCReport = FibaroVenetianBlindCCReport;
exports.FibaroVenetianBlindCCReport = FibaroVenetianBlindCCReport = __decorate([
(0, Decorators_1.fibaroCCCommand)(FibaroVenetianBlindCCCommand.Report)
], FibaroVenetianBlindCCReport);
let FibaroVenetianBlindCCGet = exports.FibaroVenetianBlindCCGet = class FibaroVenetianBlindCCGet extends FibaroVenetianBlindCC {
let FibaroVenetianBlindCCGet = class FibaroVenetianBlindCCGet extends FibaroVenetianBlindCC {
constructor(host, options) {

@@ -393,2 +398,3 @@ super(host, options);

};
exports.FibaroVenetianBlindCCGet = FibaroVenetianBlindCCGet;
exports.FibaroVenetianBlindCCGet = FibaroVenetianBlindCCGet = __decorate([

@@ -395,0 +401,0 @@ (0, Decorators_1.fibaroCCCommand)(FibaroVenetianBlindCCCommand.Get),

@@ -43,3 +43,3 @@ "use strict";

const Decorators_1 = require("./manufacturerProprietary/Decorators");
let ManufacturerProprietaryCCAPI = exports.ManufacturerProprietaryCCAPI = class ManufacturerProprietaryCCAPI extends API_1.CCAPI {
let ManufacturerProprietaryCCAPI = class ManufacturerProprietaryCCAPI extends API_1.CCAPI {
constructor(applHost, endpoint) {

@@ -88,2 +88,3 @@ super(applHost, endpoint);

};
exports.ManufacturerProprietaryCCAPI = ManufacturerProprietaryCCAPI;
exports.ManufacturerProprietaryCCAPI = ManufacturerProprietaryCCAPI = __decorate([

@@ -101,3 +102,3 @@ (0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Manufacturer Proprietary"])

}
let ManufacturerProprietaryCC = exports.ManufacturerProprietaryCC = class ManufacturerProprietaryCC extends CommandClass_1.CommandClass {
let ManufacturerProprietaryCC = class ManufacturerProprietaryCC extends CommandClass_1.CommandClass {
constructor(host, options) {

@@ -118,3 +119,3 @@ super(host, options);

// If the constructor is correct, update the payload for subclass deserialization
this.payload = this.payload.slice(1);
this.payload = this.payload.subarray(1);
}

@@ -205,2 +206,3 @@ else {

};
exports.ManufacturerProprietaryCC = ManufacturerProprietaryCC;
exports.ManufacturerProprietaryCC = ManufacturerProprietaryCC = __decorate([

@@ -207,0 +209,0 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Manufacturer Proprietary"]),

@@ -54,3 +54,3 @@ "use strict";

// @noSetValueAPI This CC is read-only
let ManufacturerSpecificCCAPI = exports.ManufacturerSpecificCCAPI = class ManufacturerSpecificCCAPI extends API_1.PhysicalCCAPI {
let ManufacturerSpecificCCAPI = class ManufacturerSpecificCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -93,6 +93,7 @@ switch (cmd) {

};
exports.ManufacturerSpecificCCAPI = ManufacturerSpecificCCAPI;
exports.ManufacturerSpecificCCAPI = ManufacturerSpecificCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Manufacturer Specific"])
], ManufacturerSpecificCCAPI);
let ManufacturerSpecificCC = exports.ManufacturerSpecificCC = class ManufacturerSpecificCC extends CommandClass_1.CommandClass {
let ManufacturerSpecificCC = class ManufacturerSpecificCC extends CommandClass_1.CommandClass {
determineRequiredCCInterviews() {

@@ -135,2 +136,3 @@ // The Manufacturer Specific CC MUST be interviewed first

};
exports.ManufacturerSpecificCC = ManufacturerSpecificCC;
exports.ManufacturerSpecificCC = ManufacturerSpecificCC = __decorate([

@@ -141,3 +143,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Manufacturer Specific"]),

], ManufacturerSpecificCC);
let ManufacturerSpecificCCReport = exports.ManufacturerSpecificCCReport = class ManufacturerSpecificCCReport extends ManufacturerSpecificCC {
let ManufacturerSpecificCCReport = class ManufacturerSpecificCCReport extends ManufacturerSpecificCC {
constructor(host, options) {

@@ -178,2 +180,3 @@ super(host, options);

};
exports.ManufacturerSpecificCCReport = ManufacturerSpecificCCReport;
__decorate([

@@ -191,4 +194,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ManufacturerSpecificCCValues.manufacturerId)

], ManufacturerSpecificCCReport);
let ManufacturerSpecificCCGet = exports.ManufacturerSpecificCCGet = class ManufacturerSpecificCCGet extends ManufacturerSpecificCC {
let ManufacturerSpecificCCGet = class ManufacturerSpecificCCGet extends ManufacturerSpecificCC {
};
exports.ManufacturerSpecificCCGet = ManufacturerSpecificCCGet;
exports.ManufacturerSpecificCCGet = ManufacturerSpecificCCGet = __decorate([

@@ -198,3 +202,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ManufacturerSpecificCommand.Get),

], ManufacturerSpecificCCGet);
let ManufacturerSpecificCCDeviceSpecificReport = exports.ManufacturerSpecificCCDeviceSpecificReport = class ManufacturerSpecificCCDeviceSpecificReport extends ManufacturerSpecificCC {
let ManufacturerSpecificCCDeviceSpecificReport = class ManufacturerSpecificCCDeviceSpecificReport extends ManufacturerSpecificCC {
constructor(host, options) {

@@ -207,3 +211,3 @@ super(host, options);

(0, safe_1.validatePayload)(dataLength > 0, this.payload.length >= 2 + dataLength);
const deviceIdData = this.payload.slice(2, 2 + dataLength);
const deviceIdData = this.payload.subarray(2, 2 + dataLength);
this.deviceId = dataFormat === 0

@@ -225,2 +229,3 @@ ? deviceIdData.toString("utf8")

};
exports.ManufacturerSpecificCCDeviceSpecificReport = ManufacturerSpecificCCDeviceSpecificReport;
__decorate([

@@ -232,3 +237,3 @@ (0, CommandClassDecorators_1.ccValue)(exports.ManufacturerSpecificCCValues.deviceId, (self) => [self.type])

], ManufacturerSpecificCCDeviceSpecificReport);
let ManufacturerSpecificCCDeviceSpecificGet = exports.ManufacturerSpecificCCDeviceSpecificGet = class ManufacturerSpecificCCDeviceSpecificGet extends ManufacturerSpecificCC {
let ManufacturerSpecificCCDeviceSpecificGet = class ManufacturerSpecificCCDeviceSpecificGet extends ManufacturerSpecificCC {
constructor(host, options) {

@@ -257,2 +262,3 @@ super(host, options);

};
exports.ManufacturerSpecificCCDeviceSpecificGet = ManufacturerSpecificCCDeviceSpecificGet;
exports.ManufacturerSpecificCCDeviceSpecificGet = ManufacturerSpecificCCDeviceSpecificGet = __decorate([

@@ -259,0 +265,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ManufacturerSpecificCommand.DeviceSpecificGet),

@@ -185,3 +185,3 @@ "use strict";

}
let MeterCCAPI = exports.MeterCCAPI = class MeterCCAPI extends API_1.PhysicalCCAPI {
let MeterCCAPI = class MeterCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -328,6 +328,7 @@ switch (cmd) {

};
exports.MeterCCAPI = MeterCCAPI;
exports.MeterCCAPI = MeterCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Meter)
], MeterCCAPI);
let MeterCC = exports.MeterCC = class MeterCC extends CommandClass_1.CommandClass {
let MeterCC = class MeterCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -491,2 +492,3 @@ const node = this.getNode(applHost);

};
exports.MeterCC = MeterCC;
exports.MeterCC = MeterCC = __decorate([

@@ -497,3 +499,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Meter),

], MeterCC);
let MeterCCReport = exports.MeterCCReport = class MeterCCReport extends MeterCC {
let MeterCCReport = class MeterCCReport extends MeterCC {
constructor(host, options) {

@@ -506,3 +508,3 @@ super(host, options);

const scale1Bit2 = (this.payload[0] & 128) >>> 7;
const { scale: scale1Bits10, value, bytesRead, } = (0, safe_1.parseFloatWithScale)(this.payload.slice(1));
const { scale: scale1Bits10, value, bytesRead, } = (0, safe_1.parseFloatWithScale)(this.payload.subarray(1));
let offset = 2 + (bytesRead - 1);

@@ -527,3 +529,3 @@ // The scale is composed of two fields (see SDS13781)

Buffer.from([this.payload[1]]),
this.payload.slice(offset),
this.payload.subarray(offset),
]));

@@ -646,2 +648,3 @@ offset += bytesRead - 1;

};
exports.MeterCCReport = MeterCCReport;
exports.MeterCCReport = MeterCCReport = __decorate([

@@ -656,3 +659,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MeterCommand.Report)

}
let MeterCCGet = exports.MeterCCGet = class MeterCCGet extends MeterCC {
let MeterCCGet = class MeterCCGet extends MeterCC {
constructor(host, options) {

@@ -723,2 +726,3 @@ super(host, options);

};
exports.MeterCCGet = MeterCCGet;
exports.MeterCCGet = MeterCCGet = __decorate([

@@ -728,3 +732,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MeterCommand.Get),

], MeterCCGet);
let MeterCCSupportedReport = exports.MeterCCSupportedReport = class MeterCCSupportedReport extends MeterCC {
let MeterCCSupportedReport = class MeterCCSupportedReport extends MeterCC {
constructor(host, options) {

@@ -745,3 +749,3 @@ super(host, options);

Buffer.from([this.payload[1] & 127]),
this.payload.slice(3, 3 + extraBytes),
this.payload.subarray(3, 3 + extraBytes),
]), 0).map((scale) => (scale >= 8 ? scale - 1 : scale));

@@ -797,2 +801,3 @@ }

};
exports.MeterCCSupportedReport = MeterCCSupportedReport;
__decorate([

@@ -813,4 +818,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.MeterCCValues.type)

], MeterCCSupportedReport);
let MeterCCSupportedGet = exports.MeterCCSupportedGet = class MeterCCSupportedGet extends MeterCC {
let MeterCCSupportedGet = class MeterCCSupportedGet extends MeterCC {
};
exports.MeterCCSupportedGet = MeterCCSupportedGet;
exports.MeterCCSupportedGet = MeterCCSupportedGet = __decorate([

@@ -820,3 +826,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MeterCommand.SupportedGet),

], MeterCCSupportedGet);
let MeterCCReset = exports.MeterCCReset = class MeterCCReset extends MeterCC {
let MeterCCReset = class MeterCCReset extends MeterCC {
constructor(host, options) {

@@ -868,2 +874,3 @@ super(host, options);

};
exports.MeterCCReset = MeterCCReset;
exports.MeterCCReset = MeterCCReset = __decorate([

@@ -870,0 +877,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MeterCommand.Reset),

@@ -356,3 +356,3 @@ "use strict";

// @noSetValueAPI
let MultiChannelAssociationCCAPI = exports.MultiChannelAssociationCCAPI = class MultiChannelAssociationCCAPI extends API_1.PhysicalCCAPI {
let MultiChannelAssociationCCAPI = class MultiChannelAssociationCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -445,6 +445,7 @@ switch (cmd) {

};
exports.MultiChannelAssociationCCAPI = MultiChannelAssociationCCAPI;
exports.MultiChannelAssociationCCAPI = MultiChannelAssociationCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Multi Channel Association"])
], MultiChannelAssociationCCAPI);
let MultiChannelAssociationCC = exports.MultiChannelAssociationCC = class MultiChannelAssociationCC extends CommandClass_1.CommandClass {
let MultiChannelAssociationCC = class MultiChannelAssociationCC extends CommandClass_1.CommandClass {
determineRequiredCCInterviews() {

@@ -624,2 +625,3 @@ // MultiChannelAssociationCC must be interviewed after Z-Wave+ if that is supported

};
exports.MultiChannelAssociationCC = MultiChannelAssociationCC;
exports.MultiChannelAssociationCC = MultiChannelAssociationCC = __decorate([

@@ -630,3 +632,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Multi Channel Association"]),

], MultiChannelAssociationCC);
let MultiChannelAssociationCCSet = exports.MultiChannelAssociationCCSet = class MultiChannelAssociationCCSet extends MultiChannelAssociationCC {
let MultiChannelAssociationCCSet = class MultiChannelAssociationCCSet extends MultiChannelAssociationCC {
constructor(host, options) {

@@ -672,2 +674,3 @@ super(host, options);

};
exports.MultiChannelAssociationCCSet = MultiChannelAssociationCCSet;
exports.MultiChannelAssociationCCSet = MultiChannelAssociationCCSet = __decorate([

@@ -677,3 +680,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelAssociationCommand.Set),

], MultiChannelAssociationCCSet);
let MultiChannelAssociationCCRemove = exports.MultiChannelAssociationCCRemove = class MultiChannelAssociationCCRemove extends MultiChannelAssociationCC {
let MultiChannelAssociationCCRemove = class MultiChannelAssociationCCRemove extends MultiChannelAssociationCC {
constructor(host, options) {

@@ -729,2 +732,3 @@ super(host, options);

};
exports.MultiChannelAssociationCCRemove = MultiChannelAssociationCCRemove;
exports.MultiChannelAssociationCCRemove = MultiChannelAssociationCCRemove = __decorate([

@@ -734,3 +738,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelAssociationCommand.Remove),

], MultiChannelAssociationCCRemove);
let MultiChannelAssociationCCReport = exports.MultiChannelAssociationCCReport = class MultiChannelAssociationCCReport extends MultiChannelAssociationCC {
let MultiChannelAssociationCCReport = class MultiChannelAssociationCCReport extends MultiChannelAssociationCC {
constructor(host, options) {

@@ -743,3 +747,3 @@ super(host, options);

({ nodeIds: this._nodeIds, endpoints: this._endpoints } =
deserializeMultiChannelAssociationDestination(this.payload.slice(3)));
deserializeMultiChannelAssociationDestination(this.payload.subarray(3)));
}

@@ -786,2 +790,3 @@ groupId;

};
exports.MultiChannelAssociationCCReport = MultiChannelAssociationCCReport;
__decorate([

@@ -799,3 +804,3 @@ (0, CommandClassDecorators_1.ccValue)(exports.MultiChannelAssociationCCValues.maxNodes, (self) => [self.groupId])

], MultiChannelAssociationCCReport);
let MultiChannelAssociationCCGet = exports.MultiChannelAssociationCCGet = class MultiChannelAssociationCCGet extends MultiChannelAssociationCC {
let MultiChannelAssociationCCGet = class MultiChannelAssociationCCGet extends MultiChannelAssociationCC {
constructor(host, options) {

@@ -826,2 +831,3 @@ super(host, options);

};
exports.MultiChannelAssociationCCGet = MultiChannelAssociationCCGet;
exports.MultiChannelAssociationCCGet = MultiChannelAssociationCCGet = __decorate([

@@ -831,3 +837,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelAssociationCommand.Get),

], MultiChannelAssociationCCGet);
let MultiChannelAssociationCCSupportedGroupingsReport = exports.MultiChannelAssociationCCSupportedGroupingsReport = class MultiChannelAssociationCCSupportedGroupingsReport extends MultiChannelAssociationCC {
let MultiChannelAssociationCCSupportedGroupingsReport = class MultiChannelAssociationCCSupportedGroupingsReport extends MultiChannelAssociationCC {
constructor(host, options) {

@@ -846,2 +852,3 @@ super(host, options);

};
exports.MultiChannelAssociationCCSupportedGroupingsReport = MultiChannelAssociationCCSupportedGroupingsReport;
__decorate([

@@ -853,4 +860,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.MultiChannelAssociationCCValues.groupCount)

], MultiChannelAssociationCCSupportedGroupingsReport);
let MultiChannelAssociationCCSupportedGroupingsGet = exports.MultiChannelAssociationCCSupportedGroupingsGet = class MultiChannelAssociationCCSupportedGroupingsGet extends MultiChannelAssociationCC {
let MultiChannelAssociationCCSupportedGroupingsGet = class MultiChannelAssociationCCSupportedGroupingsGet extends MultiChannelAssociationCC {
};
exports.MultiChannelAssociationCCSupportedGroupingsGet = MultiChannelAssociationCCSupportedGroupingsGet;
exports.MultiChannelAssociationCCSupportedGroupingsGet = MultiChannelAssociationCCSupportedGroupingsGet = __decorate([

@@ -857,0 +865,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelAssociationCommand.SupportedGroupingsGet),

@@ -107,3 +107,3 @@ "use strict";

}
let MultiChannelCCAPI = exports.MultiChannelCCAPI = class MultiChannelCCAPI extends API_1.CCAPI {
let MultiChannelCCAPI = class MultiChannelCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -225,6 +225,7 @@ switch (cmd) {

};
exports.MultiChannelCCAPI = MultiChannelCCAPI;
exports.MultiChannelCCAPI = MultiChannelCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Multi Channel"])
], MultiChannelCCAPI);
let MultiChannelCC = exports.MultiChannelCC = class MultiChannelCC extends CommandClass_1.CommandClass {
let MultiChannelCC = class MultiChannelCC extends CommandClass_1.CommandClass {
/** Tests if a command targets a specific endpoint and thus requires encapsulation */

@@ -516,2 +517,3 @@ static requiresEncapsulation(cc) {

};
exports.MultiChannelCC = MultiChannelCC;
exports.MultiChannelCC = MultiChannelCC = __decorate([

@@ -522,3 +524,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Multi Channel"]),

], MultiChannelCC);
let MultiChannelCCEndPointReport = exports.MultiChannelCCEndPointReport = class MultiChannelCCEndPointReport extends MultiChannelCC {
let MultiChannelCCEndPointReport = class MultiChannelCCEndPointReport extends MultiChannelCC {
constructor(host, options) {

@@ -571,2 +573,3 @@ super(host, options);

};
exports.MultiChannelCCEndPointReport = MultiChannelCCEndPointReport;
__decorate([

@@ -587,4 +590,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.MultiChannelCCValues.endpointCountIsDynamic)

], MultiChannelCCEndPointReport);
let MultiChannelCCEndPointGet = exports.MultiChannelCCEndPointGet = class MultiChannelCCEndPointGet extends MultiChannelCC {
let MultiChannelCCEndPointGet = class MultiChannelCCEndPointGet extends MultiChannelCC {
};
exports.MultiChannelCCEndPointGet = MultiChannelCCEndPointGet;
exports.MultiChannelCCEndPointGet = MultiChannelCCEndPointGet = __decorate([

@@ -594,3 +598,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelCommand.EndPointGet),

], MultiChannelCCEndPointGet);
let MultiChannelCCCapabilityReport = exports.MultiChannelCCCapabilityReport = class MultiChannelCCCapabilityReport extends MultiChannelCC {
let MultiChannelCCCapabilityReport = class MultiChannelCCCapabilityReport extends MultiChannelCC {
constructor(host, options) {

@@ -604,3 +608,3 @@ super(host, options);

this.isDynamic = !!(this.payload[0] & 0b10000000);
const NIF = (0, safe_1.parseApplicationNodeInformation)(this.payload.slice(1));
const NIF = (0, safe_1.parseApplicationNodeInformation)(this.payload.subarray(1));
this.genericDeviceClass = NIF.genericDeviceClass;

@@ -674,2 +678,3 @@ this.specificDeviceClass = NIF.specificDeviceClass;

};
exports.MultiChannelCCCapabilityReport = MultiChannelCCCapabilityReport;
exports.MultiChannelCCCapabilityReport = MultiChannelCCCapabilityReport = __decorate([

@@ -681,3 +686,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelCommand.CapabilityReport)

}
let MultiChannelCCCapabilityGet = exports.MultiChannelCCCapabilityGet = class MultiChannelCCCapabilityGet extends MultiChannelCC {
let MultiChannelCCCapabilityGet = class MultiChannelCCCapabilityGet extends MultiChannelCC {
constructor(host, options) {

@@ -705,2 +710,3 @@ super(host, options);

};
exports.MultiChannelCCCapabilityGet = MultiChannelCCCapabilityGet;
exports.MultiChannelCCCapabilityGet = MultiChannelCCCapabilityGet = __decorate([

@@ -710,3 +716,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelCommand.CapabilityGet),

], MultiChannelCCCapabilityGet);
let MultiChannelCCEndPointFindReport = exports.MultiChannelCCEndPointFindReport = class MultiChannelCCEndPointFindReport extends MultiChannelCC {
let MultiChannelCCEndPointFindReport = class MultiChannelCCEndPointFindReport extends MultiChannelCC {
constructor(host, options) {

@@ -721,3 +727,3 @@ super(host, options);

// therefore don't validatePayload here.
this.foundEndpoints = [...this.payload.slice(3)]
this.foundEndpoints = [...this.payload.subarray(3)]
.map((e) => e & 0b01111111)

@@ -776,6 +782,7 @@ .filter((e) => e !== 0);

};
exports.MultiChannelCCEndPointFindReport = MultiChannelCCEndPointFindReport;
exports.MultiChannelCCEndPointFindReport = MultiChannelCCEndPointFindReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelCommand.EndPointFindReport)
], MultiChannelCCEndPointFindReport);
let MultiChannelCCEndPointFind = exports.MultiChannelCCEndPointFind = class MultiChannelCCEndPointFind extends MultiChannelCC {
let MultiChannelCCEndPointFind = class MultiChannelCCEndPointFind extends MultiChannelCC {
constructor(host, options) {

@@ -809,2 +816,3 @@ super(host, options);

};
exports.MultiChannelCCEndPointFind = MultiChannelCCEndPointFind;
exports.MultiChannelCCEndPointFind = MultiChannelCCEndPointFind = __decorate([

@@ -814,3 +822,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelCommand.EndPointFind),

], MultiChannelCCEndPointFind);
let MultiChannelCCAggregatedMembersReport = exports.MultiChannelCCAggregatedMembersReport = class MultiChannelCCAggregatedMembersReport extends MultiChannelCC {
let MultiChannelCCAggregatedMembersReport = class MultiChannelCCAggregatedMembersReport extends MultiChannelCC {
constructor(host, options) {

@@ -822,3 +830,3 @@ super(host, options);

(0, safe_1.validatePayload)(this.payload.length >= 2 + bitMaskLength);
const bitMask = this.payload.slice(2, 2 + bitMaskLength);
const bitMask = this.payload.subarray(2, 2 + bitMaskLength);
this.members = (0, safe_1.parseBitMask)(bitMask);

@@ -838,2 +846,3 @@ }

};
exports.MultiChannelCCAggregatedMembersReport = MultiChannelCCAggregatedMembersReport;
__decorate([

@@ -845,3 +854,3 @@ (0, CommandClassDecorators_1.ccValue)(exports.MultiChannelCCValues.aggregatedEndpointMembers, (self) => [self.aggregatedEndpointIndex])

], MultiChannelCCAggregatedMembersReport);
let MultiChannelCCAggregatedMembersGet = exports.MultiChannelCCAggregatedMembersGet = class MultiChannelCCAggregatedMembersGet extends MultiChannelCC {
let MultiChannelCCAggregatedMembersGet = class MultiChannelCCAggregatedMembersGet extends MultiChannelCC {
constructor(host, options) {

@@ -869,2 +878,3 @@ super(host, options);

};
exports.MultiChannelCCAggregatedMembersGet = MultiChannelCCAggregatedMembersGet;
exports.MultiChannelCCAggregatedMembersGet = MultiChannelCCAggregatedMembersGet = __decorate([

@@ -897,3 +907,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelCommand.AggregatedMembersGet),

}
let MultiChannelCCCommandEncapsulation = exports.MultiChannelCCCommandEncapsulation = class MultiChannelCCCommandEncapsulation extends MultiChannelCC {
let MultiChannelCCCommandEncapsulation = class MultiChannelCCCommandEncapsulation extends MultiChannelCC {
constructor(host, options) {

@@ -923,3 +933,3 @@ super(host, options);

this.encapsulated = CommandClass_1.CommandClass.from(this.host, {
data: this.payload.slice(2),
data: this.payload.subarray(2),
fromEncapsulation: true,

@@ -975,2 +985,3 @@ encapCC: this,

};
exports.MultiChannelCCCommandEncapsulation = MultiChannelCCCommandEncapsulation;
exports.MultiChannelCCCommandEncapsulation = MultiChannelCCCommandEncapsulation = __decorate([

@@ -980,3 +991,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelCommand.CommandEncapsulation),

], MultiChannelCCCommandEncapsulation);
let MultiChannelCCV1Report = exports.MultiChannelCCV1Report = class MultiChannelCCV1Report extends MultiChannelCC {
let MultiChannelCCV1Report = class MultiChannelCCV1Report extends MultiChannelCC {
constructor(host, options) {

@@ -1001,2 +1012,3 @@ super(host, options);

};
exports.MultiChannelCCV1Report = MultiChannelCCV1Report;
exports.MultiChannelCCV1Report = MultiChannelCCV1Report = __decorate([

@@ -1008,3 +1020,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelCommand.ReportV1)

}
let MultiChannelCCV1Get = exports.MultiChannelCCV1Get = class MultiChannelCCV1Get extends MultiChannelCC {
let MultiChannelCCV1Get = class MultiChannelCCV1Get extends MultiChannelCC {
constructor(host, options) {

@@ -1032,2 +1044,3 @@ super(host, options);

};
exports.MultiChannelCCV1Get = MultiChannelCCV1Get;
exports.MultiChannelCCV1Get = MultiChannelCCV1Get = __decorate([

@@ -1048,3 +1061,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelCommand.GetV1),

}
let MultiChannelCCV1CommandEncapsulation = exports.MultiChannelCCV1CommandEncapsulation = class MultiChannelCCV1CommandEncapsulation extends MultiChannelCC {
let MultiChannelCCV1CommandEncapsulation = class MultiChannelCCV1CommandEncapsulation extends MultiChannelCC {
constructor(host, options) {

@@ -1061,3 +1074,3 @@ super(host, options);

this.encapsulated = CommandClass_1.CommandClass.from(this.host, {
data: this.payload.slice(isV2withV1Header ? 2 : 1),
data: this.payload.subarray(isV2withV1Header ? 2 : 1),
fromEncapsulation: true,

@@ -1094,2 +1107,3 @@ encapCC: this,

};
exports.MultiChannelCCV1CommandEncapsulation = MultiChannelCCV1CommandEncapsulation;
exports.MultiChannelCCV1CommandEncapsulation = MultiChannelCCV1CommandEncapsulation = __decorate([

@@ -1096,0 +1110,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiChannelCommand.CommandEncapsulationV1),

@@ -40,3 +40,3 @@ "use strict";

// @noInterview This CC only has a single encapsulation command
let MultiCommandCCAPI = exports.MultiCommandCCAPI = class MultiCommandCCAPI extends API_1.CCAPI {
let MultiCommandCCAPI = class MultiCommandCCAPI extends API_1.CCAPI {
supportsCommand(_cmd) {

@@ -61,6 +61,7 @@ // switch (cmd) {

};
exports.MultiCommandCCAPI = MultiCommandCCAPI;
exports.MultiCommandCCAPI = MultiCommandCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Multi Command"])
], MultiCommandCCAPI);
let MultiCommandCC = exports.MultiCommandCC = class MultiCommandCC extends CommandClass_1.CommandClass {
let MultiCommandCC = class MultiCommandCC extends CommandClass_1.CommandClass {
/** Tests if a command targets a specific endpoint and thus requires encapsulation */

@@ -87,2 +88,3 @@ static requiresEncapsulation(cc) {

};
exports.MultiCommandCC = MultiCommandCC;
exports.MultiCommandCC = MultiCommandCC = __decorate([

@@ -92,3 +94,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Multi Command"]),

], MultiCommandCC);
let MultiCommandCCCommandEncapsulation = exports.MultiCommandCCCommandEncapsulation = class MultiCommandCCCommandEncapsulation extends MultiCommandCC {
let MultiCommandCCCommandEncapsulation = class MultiCommandCCCommandEncapsulation extends MultiCommandCC {
constructor(host, options) {

@@ -106,3 +108,3 @@ super(host, options);

this.encapsulated.push(CommandClass_1.CommandClass.from(this.host, {
data: this.payload.slice(offset + 1, offset + 1 + cmdLength),
data: this.payload.subarray(offset + 1, offset + 1 + cmdLength),
fromEncapsulation: true,

@@ -143,2 +145,3 @@ encapCC: this,

};
exports.MultiCommandCCCommandEncapsulation = MultiCommandCCCommandEncapsulation;
exports.MultiCommandCCCommandEncapsulation = MultiCommandCCCommandEncapsulation = __decorate([

@@ -145,0 +148,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultiCommandCommand.CommandEncapsulation)

@@ -168,3 +168,3 @@ "use strict";

// @noSetValueAPI This CC is read-only
let MultilevelSensorCCAPI = exports.MultilevelSensorCCAPI = class MultilevelSensorCCAPI extends API_1.PhysicalCCAPI {
let MultilevelSensorCCAPI = class MultilevelSensorCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -278,6 +278,7 @@ switch (cmd) {

};
exports.MultilevelSensorCCAPI = MultilevelSensorCCAPI;
exports.MultilevelSensorCCAPI = MultilevelSensorCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Multilevel Sensor"])
], MultilevelSensorCCAPI);
let MultilevelSensorCC = exports.MultilevelSensorCC = class MultilevelSensorCC extends CommandClass_1.CommandClass {
let MultilevelSensorCC = class MultilevelSensorCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -449,2 +450,3 @@ const node = this.getNode(applHost);

};
exports.MultilevelSensorCC = MultilevelSensorCC;
exports.MultilevelSensorCC = MultilevelSensorCC = __decorate([

@@ -455,3 +457,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Multilevel Sensor"]),

], MultilevelSensorCC);
let MultilevelSensorCCReport = exports.MultilevelSensorCCReport = class MultilevelSensorCCReport extends MultilevelSensorCC {
let MultilevelSensorCCReport = class MultilevelSensorCCReport extends MultilevelSensorCC {
constructor(host, options) {

@@ -463,3 +465,3 @@ super(host, options);

// parseFloatWithScale does its own validation
const { value, scale } = (0, safe_1.parseFloatWithScale)(this.payload.slice(1));
const { value, scale } = (0, safe_1.parseFloatWithScale)(this.payload.subarray(1));
this.value = value;

@@ -536,2 +538,3 @@ this.scale = scale;

};
exports.MultilevelSensorCCReport = MultilevelSensorCCReport;
exports.MultilevelSensorCCReport = MultilevelSensorCCReport = __decorate([

@@ -545,3 +548,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultilevelSensorCommand.Report),

};
let MultilevelSensorCCGet = exports.MultilevelSensorCCGet = class MultilevelSensorCCGet extends MultilevelSensorCC {
let MultilevelSensorCCGet = class MultilevelSensorCCGet extends MultilevelSensorCC {
constructor(host, options) {

@@ -591,2 +594,3 @@ super(host, options);

};
exports.MultilevelSensorCCGet = MultilevelSensorCCGet;
exports.MultilevelSensorCCGet = MultilevelSensorCCGet = __decorate([

@@ -596,3 +600,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultilevelSensorCommand.Get),

], MultilevelSensorCCGet);
let MultilevelSensorCCSupportedSensorReport = exports.MultilevelSensorCCSupportedSensorReport = class MultilevelSensorCCSupportedSensorReport extends MultilevelSensorCC {
let MultilevelSensorCCSupportedSensorReport = class MultilevelSensorCCSupportedSensorReport extends MultilevelSensorCC {
constructor(host, options) {

@@ -616,2 +620,3 @@ super(host, options);

};
exports.MultilevelSensorCCSupportedSensorReport = MultilevelSensorCCSupportedSensorReport;
__decorate([

@@ -623,4 +628,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.MultilevelSensorCCValues.supportedSensorTypes)

], MultilevelSensorCCSupportedSensorReport);
let MultilevelSensorCCGetSupportedSensor = exports.MultilevelSensorCCGetSupportedSensor = class MultilevelSensorCCGetSupportedSensor extends MultilevelSensorCC {
let MultilevelSensorCCGetSupportedSensor = class MultilevelSensorCCGetSupportedSensor extends MultilevelSensorCC {
};
exports.MultilevelSensorCCGetSupportedSensor = MultilevelSensorCCGetSupportedSensor;
exports.MultilevelSensorCCGetSupportedSensor = MultilevelSensorCCGetSupportedSensor = __decorate([

@@ -630,3 +636,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultilevelSensorCommand.GetSupportedSensor),

], MultilevelSensorCCGetSupportedSensor);
let MultilevelSensorCCSupportedScaleReport = exports.MultilevelSensorCCSupportedScaleReport = class MultilevelSensorCCSupportedScaleReport extends MultilevelSensorCC {
let MultilevelSensorCCSupportedScaleReport = class MultilevelSensorCCSupportedScaleReport extends MultilevelSensorCC {
constructor(host, options) {

@@ -652,2 +658,3 @@ super(host, options);

};
exports.MultilevelSensorCCSupportedScaleReport = MultilevelSensorCCSupportedScaleReport;
__decorate([

@@ -659,3 +666,3 @@ (0, CommandClassDecorators_1.ccValue)(exports.MultilevelSensorCCValues.supportedScales, (self) => [self.sensorType])

], MultilevelSensorCCSupportedScaleReport);
let MultilevelSensorCCGetSupportedScale = exports.MultilevelSensorCCGetSupportedScale = class MultilevelSensorCCGetSupportedScale extends MultilevelSensorCC {
let MultilevelSensorCCGetSupportedScale = class MultilevelSensorCCGetSupportedScale extends MultilevelSensorCC {
constructor(host, options) {

@@ -685,2 +692,3 @@ super(host, options);

};
exports.MultilevelSensorCCGetSupportedScale = MultilevelSensorCCGetSupportedScale;
exports.MultilevelSensorCCGetSupportedScale = MultilevelSensorCCGetSupportedScale = __decorate([

@@ -687,0 +695,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultilevelSensorCommand.GetSupportedScale),

@@ -281,3 +281,3 @@ "use strict";

});
let MultilevelSwitchCCAPI = exports.MultilevelSwitchCCAPI = class MultilevelSwitchCCAPI extends API_1.CCAPI {
let MultilevelSwitchCCAPI = class MultilevelSwitchCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -498,6 +498,7 @@ switch (cmd) {

};
exports.MultilevelSwitchCCAPI = MultilevelSwitchCCAPI;
exports.MultilevelSwitchCCAPI = MultilevelSwitchCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Multilevel Switch"])
], MultilevelSwitchCCAPI);
let MultilevelSwitchCC = exports.MultilevelSwitchCC = class MultilevelSwitchCC extends CommandClass_1.CommandClass {
let MultilevelSwitchCC = class MultilevelSwitchCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -563,2 +564,3 @@ const node = this.getNode(applHost);

};
exports.MultilevelSwitchCC = MultilevelSwitchCC;
exports.MultilevelSwitchCC = MultilevelSwitchCC = __decorate([

@@ -569,3 +571,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Multilevel Switch"]),

], MultilevelSwitchCC);
let MultilevelSwitchCCSet = exports.MultilevelSwitchCCSet = class MultilevelSwitchCCSet extends MultilevelSwitchCC {
let MultilevelSwitchCCSet = class MultilevelSwitchCCSet extends MultilevelSwitchCC {
constructor(host, options) {

@@ -608,2 +610,3 @@ super(host, options);

};
exports.MultilevelSwitchCCSet = MultilevelSwitchCCSet;
exports.MultilevelSwitchCCSet = MultilevelSwitchCCSet = __decorate([

@@ -613,3 +616,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultilevelSwitchCommand.Set),

], MultilevelSwitchCCSet);
let MultilevelSwitchCCReport = exports.MultilevelSwitchCCReport = class MultilevelSwitchCCReport extends MultilevelSwitchCC {
let MultilevelSwitchCCReport = class MultilevelSwitchCCReport extends MultilevelSwitchCC {
constructor(host, options) {

@@ -667,2 +670,3 @@ super(host, options);

};
exports.MultilevelSwitchCCReport = MultilevelSwitchCCReport;
__decorate([

@@ -680,4 +684,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.MultilevelSwitchCCValues.targetValue)

], MultilevelSwitchCCReport);
let MultilevelSwitchCCGet = exports.MultilevelSwitchCCGet = class MultilevelSwitchCCGet extends MultilevelSwitchCC {
let MultilevelSwitchCCGet = class MultilevelSwitchCCGet extends MultilevelSwitchCC {
};
exports.MultilevelSwitchCCGet = MultilevelSwitchCCGet;
exports.MultilevelSwitchCCGet = MultilevelSwitchCCGet = __decorate([

@@ -687,3 +692,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultilevelSwitchCommand.Get),

], MultilevelSwitchCCGet);
let MultilevelSwitchCCStartLevelChange = exports.MultilevelSwitchCCStartLevelChange = class MultilevelSwitchCCStartLevelChange extends MultilevelSwitchCC {
let MultilevelSwitchCCStartLevelChange = class MultilevelSwitchCCStartLevelChange extends MultilevelSwitchCC {
constructor(host, options) {

@@ -737,2 +742,3 @@ super(host, options);

};
exports.MultilevelSwitchCCStartLevelChange = MultilevelSwitchCCStartLevelChange;
exports.MultilevelSwitchCCStartLevelChange = MultilevelSwitchCCStartLevelChange = __decorate([

@@ -742,4 +748,5 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultilevelSwitchCommand.StartLevelChange),

], MultilevelSwitchCCStartLevelChange);
let MultilevelSwitchCCStopLevelChange = exports.MultilevelSwitchCCStopLevelChange = class MultilevelSwitchCCStopLevelChange extends MultilevelSwitchCC {
let MultilevelSwitchCCStopLevelChange = class MultilevelSwitchCCStopLevelChange extends MultilevelSwitchCC {
};
exports.MultilevelSwitchCCStopLevelChange = MultilevelSwitchCCStopLevelChange;
exports.MultilevelSwitchCCStopLevelChange = MultilevelSwitchCCStopLevelChange = __decorate([

@@ -749,3 +756,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultilevelSwitchCommand.StopLevelChange),

], MultilevelSwitchCCStopLevelChange);
let MultilevelSwitchCCSupportedReport = exports.MultilevelSwitchCCSupportedReport = class MultilevelSwitchCCSupportedReport extends MultilevelSwitchCC {
let MultilevelSwitchCCSupportedReport = class MultilevelSwitchCCSupportedReport extends MultilevelSwitchCC {
constructor(host, options) {

@@ -774,2 +781,3 @@ super(host, options);

};
exports.MultilevelSwitchCCSupportedReport = MultilevelSwitchCCSupportedReport;
__decorate([

@@ -781,4 +789,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.MultilevelSwitchCCValues.switchType)

], MultilevelSwitchCCSupportedReport);
let MultilevelSwitchCCSupportedGet = exports.MultilevelSwitchCCSupportedGet = class MultilevelSwitchCCSupportedGet extends MultilevelSwitchCC {
let MultilevelSwitchCCSupportedGet = class MultilevelSwitchCCSupportedGet extends MultilevelSwitchCC {
};
exports.MultilevelSwitchCCSupportedGet = MultilevelSwitchCCSupportedGet;
exports.MultilevelSwitchCCSupportedGet = MultilevelSwitchCCSupportedGet = __decorate([

@@ -785,0 +794,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.MultilevelSwitchCommand.SupportedGet),

@@ -43,3 +43,3 @@ "use strict";

}
let NodeNamingAndLocationCCAPI = exports.NodeNamingAndLocationCCAPI = class NodeNamingAndLocationCCAPI extends API_1.PhysicalCCAPI {
let NodeNamingAndLocationCCAPI = class NodeNamingAndLocationCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -123,6 +123,7 @@ switch (cmd) {

};
exports.NodeNamingAndLocationCCAPI = NodeNamingAndLocationCCAPI;
exports.NodeNamingAndLocationCCAPI = NodeNamingAndLocationCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Node Naming and Location"])
], NodeNamingAndLocationCCAPI);
let NodeNamingAndLocationCC = exports.NodeNamingAndLocationCC = class NodeNamingAndLocationCC extends CommandClass_1.CommandClass {
let NodeNamingAndLocationCC = class NodeNamingAndLocationCC extends CommandClass_1.CommandClass {
skipEndpointInterview() {

@@ -173,2 +174,3 @@ // As the name says, this is for the node, not for endpoints

};
exports.NodeNamingAndLocationCC = NodeNamingAndLocationCC;
exports.NodeNamingAndLocationCC = NodeNamingAndLocationCC = __decorate([

@@ -179,3 +181,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Node Naming and Location"]),

], NodeNamingAndLocationCC);
let NodeNamingAndLocationCCNameSet = exports.NodeNamingAndLocationCCNameSet = class NodeNamingAndLocationCCNameSet extends NodeNamingAndLocationCC {
let NodeNamingAndLocationCCNameSet = class NodeNamingAndLocationCCNameSet extends NodeNamingAndLocationCC {
constructor(host, options) {

@@ -212,2 +214,3 @@ super(host, options);

};
exports.NodeNamingAndLocationCCNameSet = NodeNamingAndLocationCCNameSet;
exports.NodeNamingAndLocationCCNameSet = NodeNamingAndLocationCCNameSet = __decorate([

@@ -217,7 +220,7 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.NodeNamingAndLocationCommand.NameSet),

], NodeNamingAndLocationCCNameSet);
let NodeNamingAndLocationCCNameReport = exports.NodeNamingAndLocationCCNameReport = class NodeNamingAndLocationCCNameReport extends NodeNamingAndLocationCC {
let NodeNamingAndLocationCCNameReport = class NodeNamingAndLocationCCNameReport extends NodeNamingAndLocationCC {
constructor(host, options) {
super(host, options);
const encoding = this.payload[0] === 2 ? "utf16le" : "ascii";
let nameBuffer = this.payload.slice(1);
let nameBuffer = this.payload.subarray(1);
if (encoding === "utf16le") {

@@ -238,2 +241,3 @@ (0, safe_1.validatePayload)(nameBuffer.length % 2 === 0);

};
exports.NodeNamingAndLocationCCNameReport = NodeNamingAndLocationCCNameReport;
__decorate([

@@ -245,4 +249,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.NodeNamingAndLocationCCValues.name)

], NodeNamingAndLocationCCNameReport);
let NodeNamingAndLocationCCNameGet = exports.NodeNamingAndLocationCCNameGet = class NodeNamingAndLocationCCNameGet extends NodeNamingAndLocationCC {
let NodeNamingAndLocationCCNameGet = class NodeNamingAndLocationCCNameGet extends NodeNamingAndLocationCC {
};
exports.NodeNamingAndLocationCCNameGet = NodeNamingAndLocationCCNameGet;
exports.NodeNamingAndLocationCCNameGet = NodeNamingAndLocationCCNameGet = __decorate([

@@ -252,3 +257,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.NodeNamingAndLocationCommand.NameGet),

], NodeNamingAndLocationCCNameGet);
let NodeNamingAndLocationCCLocationSet = exports.NodeNamingAndLocationCCLocationSet = class NodeNamingAndLocationCCLocationSet extends NodeNamingAndLocationCC {
let NodeNamingAndLocationCCLocationSet = class NodeNamingAndLocationCCLocationSet extends NodeNamingAndLocationCC {
constructor(host, options) {

@@ -285,2 +290,3 @@ super(host, options);

};
exports.NodeNamingAndLocationCCLocationSet = NodeNamingAndLocationCCLocationSet;
exports.NodeNamingAndLocationCCLocationSet = NodeNamingAndLocationCCLocationSet = __decorate([

@@ -290,7 +296,7 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.NodeNamingAndLocationCommand.LocationSet),

], NodeNamingAndLocationCCLocationSet);
let NodeNamingAndLocationCCLocationReport = exports.NodeNamingAndLocationCCLocationReport = class NodeNamingAndLocationCCLocationReport extends NodeNamingAndLocationCC {
let NodeNamingAndLocationCCLocationReport = class NodeNamingAndLocationCCLocationReport extends NodeNamingAndLocationCC {
constructor(host, options) {
super(host, options);
const encoding = this.payload[0] === 2 ? "utf16le" : "ascii";
let locationBuffer = this.payload.slice(1);
let locationBuffer = this.payload.subarray(1);
if (encoding === "utf16le") {

@@ -311,2 +317,3 @@ (0, safe_1.validatePayload)(locationBuffer.length % 2 === 0);

};
exports.NodeNamingAndLocationCCLocationReport = NodeNamingAndLocationCCLocationReport;
__decorate([

@@ -318,4 +325,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.NodeNamingAndLocationCCValues.location)

], NodeNamingAndLocationCCLocationReport);
let NodeNamingAndLocationCCLocationGet = exports.NodeNamingAndLocationCCLocationGet = class NodeNamingAndLocationCCLocationGet extends NodeNamingAndLocationCC {
let NodeNamingAndLocationCCLocationGet = class NodeNamingAndLocationCCLocationGet extends NodeNamingAndLocationCC {
};
exports.NodeNamingAndLocationCCLocationGet = NodeNamingAndLocationCCLocationGet;
exports.NodeNamingAndLocationCCLocationGet = NodeNamingAndLocationCCLocationGet = __decorate([

@@ -322,0 +330,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.NodeNamingAndLocationCommand.LocationGet),

@@ -17,3 +17,3 @@ "use strict";

// @noInterview There's nothing to interview here
let NoOperationCCAPI = exports.NoOperationCCAPI = class NoOperationCCAPI extends API_1.PhysicalCCAPI {
let NoOperationCCAPI = class NoOperationCCAPI extends API_1.PhysicalCCAPI {
async send() {

@@ -33,7 +33,9 @@ await this.applHost.sendCommand(new NoOperationCC(this.applHost, {

};
exports.NoOperationCCAPI = NoOperationCCAPI;
exports.NoOperationCCAPI = NoOperationCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["No Operation"])
], NoOperationCCAPI);
let NoOperationCC = exports.NoOperationCC = class NoOperationCC extends CommandClass_1.CommandClass {
let NoOperationCC = class NoOperationCC extends CommandClass_1.CommandClass {
};
exports.NoOperationCC = NoOperationCC;
exports.NoOperationCC = NoOperationCC = __decorate([

@@ -40,0 +42,0 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["No Operation"]),

@@ -267,3 +267,3 @@ "use strict";

}
let NotificationCCAPI = exports.NotificationCCAPI = class NotificationCCAPI extends API_1.PhysicalCCAPI {
let NotificationCCAPI = class NotificationCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -376,2 +376,3 @@ switch (cmd) {

};
exports.NotificationCCAPI = NotificationCCAPI;
exports.NotificationCCAPI = NotificationCCAPI = __decorate([

@@ -427,3 +428,3 @@ (0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Notification)

exports.getNotificationValueMetadata = getNotificationValueMetadata;
let NotificationCC = exports.NotificationCC = NotificationCC_1 = class NotificationCC extends CommandClass_1.CommandClass {
let NotificationCC = NotificationCC_1 = class NotificationCC extends CommandClass_1.CommandClass {
// former AlarmCC (v1..v2)

@@ -696,2 +697,3 @@ determineRequiredCCInterviews() {

};
exports.NotificationCC = NotificationCC;
exports.NotificationCC = NotificationCC = NotificationCC_1 = __decorate([

@@ -702,3 +704,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Notification),

], NotificationCC);
let NotificationCCSet = exports.NotificationCCSet = class NotificationCCSet extends NotificationCC {
let NotificationCCSet = class NotificationCCSet extends NotificationCC {
constructor(host, options) {

@@ -735,2 +737,3 @@ super(host, options);

};
exports.NotificationCCSet = NotificationCCSet;
exports.NotificationCCSet = NotificationCCSet = __decorate([

@@ -740,3 +743,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.NotificationCommand.Set),

], NotificationCCSet);
let NotificationCCReport = exports.NotificationCCReport = class NotificationCCReport extends NotificationCC {
let NotificationCCReport = class NotificationCCReport extends NotificationCC {
constructor(host, options) {

@@ -764,3 +767,3 @@ super(host, options);

(0, safe_1.validatePayload)(this.payload.length >= 7 + numEventParams);
this.eventParameters = Buffer.from(this.payload.slice(7, 7 + numEventParams));
this.eventParameters = Buffer.from(this.payload.subarray(7, 7 + numEventParams));
}

@@ -1089,2 +1092,3 @@ if (containsSeqNum) {

};
exports.NotificationCCReport = NotificationCCReport;
exports.NotificationCCReport = NotificationCCReport = __decorate([

@@ -1094,3 +1098,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.NotificationCommand.Report),

], NotificationCCReport);
let NotificationCCGet = exports.NotificationCCGet = class NotificationCCGet extends NotificationCC {
let NotificationCCGet = class NotificationCCGet extends NotificationCC {
constructor(host, options) {

@@ -1157,2 +1161,3 @@ super(host, options);

};
exports.NotificationCCGet = NotificationCCGet;
exports.NotificationCCGet = NotificationCCGet = __decorate([

@@ -1162,3 +1167,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.NotificationCommand.Get),

], NotificationCCGet);
let NotificationCCSupportedReport = exports.NotificationCCSupportedReport = class NotificationCCSupportedReport extends NotificationCC {
let NotificationCCSupportedReport = class NotificationCCSupportedReport extends NotificationCC {
constructor(host, options) {

@@ -1171,3 +1176,3 @@ super(host, options);

(0, safe_1.validatePayload)(numBitMaskBytes > 0, this.payload.length >= 1 + numBitMaskBytes);
const notificationBitMask = this.payload.slice(1, 1 + numBitMaskBytes);
const notificationBitMask = this.payload.subarray(1, 1 + numBitMaskBytes);
this.supportedNotificationTypes = (0, safe_1.parseBitMask)(notificationBitMask,

@@ -1207,2 +1212,3 @@ // bit 0 is ignored, but counting still starts at 1, so the first bit must have the value 0

};
exports.NotificationCCSupportedReport = NotificationCCSupportedReport;
__decorate([

@@ -1217,4 +1223,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.NotificationCCValues.supportsV1Alarm)

], NotificationCCSupportedReport);
let NotificationCCSupportedGet = exports.NotificationCCSupportedGet = class NotificationCCSupportedGet extends NotificationCC {
let NotificationCCSupportedGet = class NotificationCCSupportedGet extends NotificationCC {
};
exports.NotificationCCSupportedGet = NotificationCCSupportedGet;
exports.NotificationCCSupportedGet = NotificationCCSupportedGet = __decorate([

@@ -1224,3 +1231,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.NotificationCommand.SupportedGet),

], NotificationCCSupportedGet);
let NotificationCCEventSupportedReport = exports.NotificationCCEventSupportedReport = class NotificationCCEventSupportedReport extends NotificationCC {
let NotificationCCEventSupportedReport = class NotificationCCEventSupportedReport extends NotificationCC {
constructor(host, options) {

@@ -1238,3 +1245,3 @@ super(host, options);

(0, safe_1.validatePayload)(this.payload.length >= 2 + numBitMaskBytes);
const eventBitMask = this.payload.slice(2, 2 + numBitMaskBytes);
const eventBitMask = this.payload.subarray(2, 2 + numBitMaskBytes);
this.supportedEvents = (0, safe_1.parseBitMask)(eventBitMask,

@@ -1305,6 +1312,7 @@ // In this mask, bit 0 is ignored, but counting still starts at 1, so the first bit must have the value 0

};
exports.NotificationCCEventSupportedReport = NotificationCCEventSupportedReport;
exports.NotificationCCEventSupportedReport = NotificationCCEventSupportedReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.NotificationCommand.EventSupportedReport)
], NotificationCCEventSupportedReport);
let NotificationCCEventSupportedGet = exports.NotificationCCEventSupportedGet = class NotificationCCEventSupportedGet extends NotificationCC {
let NotificationCCEventSupportedGet = class NotificationCCEventSupportedGet extends NotificationCC {
constructor(host, options) {

@@ -1334,2 +1342,3 @@ super(host, options);

};
exports.NotificationCCEventSupportedGet = NotificationCCEventSupportedGet;
exports.NotificationCCEventSupportedGet = NotificationCCEventSupportedGet = __decorate([

@@ -1336,0 +1345,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.NotificationCommand.EventSupportedGet),

@@ -34,3 +34,3 @@ "use strict";

const _Types_1 = require("../lib/_Types");
let PowerlevelCCAPI = exports.PowerlevelCCAPI = class PowerlevelCCAPI extends API_1.PhysicalCCAPI {
let PowerlevelCCAPI = class PowerlevelCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -119,7 +119,9 @@ switch (cmd) {

};
exports.PowerlevelCCAPI = PowerlevelCCAPI;
exports.PowerlevelCCAPI = PowerlevelCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Powerlevel)
], PowerlevelCCAPI);
let PowerlevelCC = exports.PowerlevelCC = class PowerlevelCC extends CommandClass_1.CommandClass {
let PowerlevelCC = class PowerlevelCC extends CommandClass_1.CommandClass {
};
exports.PowerlevelCC = PowerlevelCC;
exports.PowerlevelCC = PowerlevelCC = __decorate([

@@ -129,3 +131,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Powerlevel),

], PowerlevelCC);
let PowerlevelCCSet = exports.PowerlevelCCSet = class PowerlevelCCSet extends PowerlevelCC {
let PowerlevelCCSet = class PowerlevelCCSet extends PowerlevelCC {
constructor(host, options) {

@@ -166,2 +168,3 @@ super(host, options);

};
exports.PowerlevelCCSet = PowerlevelCCSet;
exports.PowerlevelCCSet = PowerlevelCCSet = __decorate([

@@ -171,3 +174,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.PowerlevelCommand.Set),

], PowerlevelCCSet);
let PowerlevelCCReport = exports.PowerlevelCCReport = class PowerlevelCCReport extends PowerlevelCC {
let PowerlevelCCReport = class PowerlevelCCReport extends PowerlevelCC {
constructor(host, options) {

@@ -195,7 +198,9 @@ super(host, options);

};
exports.PowerlevelCCReport = PowerlevelCCReport;
exports.PowerlevelCCReport = PowerlevelCCReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.PowerlevelCommand.Report)
], PowerlevelCCReport);
let PowerlevelCCGet = exports.PowerlevelCCGet = class PowerlevelCCGet extends PowerlevelCC {
let PowerlevelCCGet = class PowerlevelCCGet extends PowerlevelCC {
};
exports.PowerlevelCCGet = PowerlevelCCGet;
exports.PowerlevelCCGet = PowerlevelCCGet = __decorate([

@@ -205,3 +210,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.PowerlevelCommand.Get),

], PowerlevelCCGet);
let PowerlevelCCTestNodeSet = exports.PowerlevelCCTestNodeSet = class PowerlevelCCTestNodeSet extends PowerlevelCC {
let PowerlevelCCTestNodeSet = class PowerlevelCCTestNodeSet extends PowerlevelCC {
constructor(host, options) {

@@ -238,2 +243,3 @@ super(host, options);

};
exports.PowerlevelCCTestNodeSet = PowerlevelCCTestNodeSet;
exports.PowerlevelCCTestNodeSet = PowerlevelCCTestNodeSet = __decorate([

@@ -243,3 +249,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.PowerlevelCommand.TestNodeSet),

], PowerlevelCCTestNodeSet);
let PowerlevelCCTestNodeReport = exports.PowerlevelCCTestNodeReport = class PowerlevelCCTestNodeReport extends PowerlevelCC {
let PowerlevelCCTestNodeReport = class PowerlevelCCTestNodeReport extends PowerlevelCC {
constructor(host, options) {

@@ -266,7 +272,9 @@ super(host, options);

};
exports.PowerlevelCCTestNodeReport = PowerlevelCCTestNodeReport;
exports.PowerlevelCCTestNodeReport = PowerlevelCCTestNodeReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.PowerlevelCommand.TestNodeReport)
], PowerlevelCCTestNodeReport);
let PowerlevelCCTestNodeGet = exports.PowerlevelCCTestNodeGet = class PowerlevelCCTestNodeGet extends PowerlevelCC {
let PowerlevelCCTestNodeGet = class PowerlevelCCTestNodeGet extends PowerlevelCC {
};
exports.PowerlevelCCTestNodeGet = PowerlevelCCTestNodeGet;
exports.PowerlevelCCTestNodeGet = PowerlevelCCTestNodeGet = __decorate([

@@ -273,0 +281,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.PowerlevelCommand.TestNodeGet),

@@ -92,3 +92,3 @@ "use strict";

});
let ProtectionCCAPI = exports.ProtectionCCAPI = class ProtectionCCAPI extends API_1.CCAPI {
let ProtectionCCAPI = class ProtectionCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -238,6 +238,7 @@ switch (cmd) {

};
exports.ProtectionCCAPI = ProtectionCCAPI;
exports.ProtectionCCAPI = ProtectionCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Protection)
], ProtectionCCAPI);
let ProtectionCC = exports.ProtectionCC = class ProtectionCC extends CommandClass_1.CommandClass {
let ProtectionCC = class ProtectionCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -348,2 +349,3 @@ const node = this.getNode(applHost);

};
exports.ProtectionCC = ProtectionCC;
exports.ProtectionCC = ProtectionCC = __decorate([

@@ -354,3 +356,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Protection),

], ProtectionCC);
let ProtectionCCSet = exports.ProtectionCCSet = class ProtectionCCSet extends ProtectionCC {
let ProtectionCCSet = class ProtectionCCSet extends ProtectionCC {
constructor(host, options) {

@@ -364,3 +366,3 @@ super(host, options);

this.local = options.local;
this.rf = options.rf;
this.rf = options.rf ?? _Types_1.RFProtectionState.Unprotected;
}

@@ -391,2 +393,3 @@ }

};
exports.ProtectionCCSet = ProtectionCCSet;
exports.ProtectionCCSet = ProtectionCCSet = __decorate([

@@ -396,3 +399,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ProtectionCommand.Set),

], ProtectionCCSet);
let ProtectionCCReport = exports.ProtectionCCReport = class ProtectionCCReport extends ProtectionCC {
let ProtectionCCReport = class ProtectionCCReport extends ProtectionCC {
constructor(host, options) {

@@ -421,2 +424,3 @@ super(host, options);

};
exports.ProtectionCCReport = ProtectionCCReport;
__decorate([

@@ -431,4 +435,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ProtectionCCValues.localProtectionState)

], ProtectionCCReport);
let ProtectionCCGet = exports.ProtectionCCGet = class ProtectionCCGet extends ProtectionCC {
let ProtectionCCGet = class ProtectionCCGet extends ProtectionCC {
};
exports.ProtectionCCGet = ProtectionCCGet;
exports.ProtectionCCGet = ProtectionCCGet = __decorate([

@@ -438,3 +443,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ProtectionCommand.Get),

], ProtectionCCGet);
let ProtectionCCSupportedReport = exports.ProtectionCCSupportedReport = class ProtectionCCSupportedReport extends ProtectionCC {
let ProtectionCCSupportedReport = class ProtectionCCSupportedReport extends ProtectionCC {
constructor(host, options) {

@@ -445,4 +450,4 @@ super(host, options);

this.supportsExclusiveControl = !!(this.payload[0] & 0b10);
this.supportedLocalStates = (0, safe_1.parseBitMask)(this.payload.slice(1, 3), _Types_1.LocalProtectionState.Unprotected);
this.supportedRFStates = (0, safe_1.parseBitMask)(this.payload.slice(3, 5), _Types_1.RFProtectionState.Unprotected);
this.supportedLocalStates = (0, safe_1.parseBitMask)(this.payload.subarray(1, 3), _Types_1.LocalProtectionState.Unprotected);
this.supportedRFStates = (0, safe_1.parseBitMask)(this.payload.subarray(3, 5), _Types_1.RFProtectionState.Unprotected);
}

@@ -487,2 +492,3 @@ persistValues(applHost) {

};
exports.ProtectionCCSupportedReport = ProtectionCCSupportedReport;
__decorate([

@@ -503,4 +509,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ProtectionCCValues.supportsExclusiveControl)

], ProtectionCCSupportedReport);
let ProtectionCCSupportedGet = exports.ProtectionCCSupportedGet = class ProtectionCCSupportedGet extends ProtectionCC {
let ProtectionCCSupportedGet = class ProtectionCCSupportedGet extends ProtectionCC {
};
exports.ProtectionCCSupportedGet = ProtectionCCSupportedGet;
exports.ProtectionCCSupportedGet = ProtectionCCSupportedGet = __decorate([

@@ -510,3 +517,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ProtectionCommand.SupportedGet),

], ProtectionCCSupportedGet);
let ProtectionCCExclusiveControlReport = exports.ProtectionCCExclusiveControlReport = class ProtectionCCExclusiveControlReport extends ProtectionCC {
let ProtectionCCExclusiveControlReport = class ProtectionCCExclusiveControlReport extends ProtectionCC {
constructor(host, options) {

@@ -527,2 +534,3 @@ super(host, options);

};
exports.ProtectionCCExclusiveControlReport = ProtectionCCExclusiveControlReport;
__decorate([

@@ -534,4 +542,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ProtectionCCValues.exclusiveControlNodeId)

], ProtectionCCExclusiveControlReport);
let ProtectionCCExclusiveControlGet = exports.ProtectionCCExclusiveControlGet = class ProtectionCCExclusiveControlGet extends ProtectionCC {
let ProtectionCCExclusiveControlGet = class ProtectionCCExclusiveControlGet extends ProtectionCC {
};
exports.ProtectionCCExclusiveControlGet = ProtectionCCExclusiveControlGet;
exports.ProtectionCCExclusiveControlGet = ProtectionCCExclusiveControlGet = __decorate([

@@ -541,3 +550,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ProtectionCommand.ExclusiveControlGet),

], ProtectionCCExclusiveControlGet);
let ProtectionCCExclusiveControlSet = exports.ProtectionCCExclusiveControlSet = class ProtectionCCExclusiveControlSet extends ProtectionCC {
let ProtectionCCExclusiveControlSet = class ProtectionCCExclusiveControlSet extends ProtectionCC {
constructor(host, options) {

@@ -567,2 +576,3 @@ super(host, options);

};
exports.ProtectionCCExclusiveControlSet = ProtectionCCExclusiveControlSet;
exports.ProtectionCCExclusiveControlSet = ProtectionCCExclusiveControlSet = __decorate([

@@ -573,3 +583,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ProtectionCommand.ExclusiveControlSet),

], ProtectionCCExclusiveControlSet);
let ProtectionCCTimeoutReport = exports.ProtectionCCTimeoutReport = class ProtectionCCTimeoutReport extends ProtectionCC {
let ProtectionCCTimeoutReport = class ProtectionCCTimeoutReport extends ProtectionCC {
constructor(host, options) {

@@ -588,2 +598,3 @@ super(host, options);

};
exports.ProtectionCCTimeoutReport = ProtectionCCTimeoutReport;
__decorate([

@@ -595,4 +606,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ProtectionCCValues.timeout)

], ProtectionCCTimeoutReport);
let ProtectionCCTimeoutGet = exports.ProtectionCCTimeoutGet = class ProtectionCCTimeoutGet extends ProtectionCC {
let ProtectionCCTimeoutGet = class ProtectionCCTimeoutGet extends ProtectionCC {
};
exports.ProtectionCCTimeoutGet = ProtectionCCTimeoutGet;
exports.ProtectionCCTimeoutGet = ProtectionCCTimeoutGet = __decorate([

@@ -602,3 +614,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ProtectionCommand.TimeoutGet),

], ProtectionCCTimeoutGet);
let ProtectionCCTimeoutSet = exports.ProtectionCCTimeoutSet = class ProtectionCCTimeoutSet extends ProtectionCC {
let ProtectionCCTimeoutSet = class ProtectionCCTimeoutSet extends ProtectionCC {
constructor(host, options) {

@@ -626,2 +638,3 @@ super(host, options);

};
exports.ProtectionCCTimeoutSet = ProtectionCCTimeoutSet;
exports.ProtectionCCTimeoutSet = ProtectionCCTimeoutSet = __decorate([

@@ -628,0 +641,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ProtectionCommand.TimeoutSet),

@@ -69,3 +69,3 @@ "use strict";

// @noInterview This CC is write-only
let SceneActivationCCAPI = exports.SceneActivationCCAPI = class SceneActivationCCAPI extends API_1.CCAPI {
let SceneActivationCCAPI = class SceneActivationCCAPI extends API_1.CCAPI {
supportsCommand(_cmd) {

@@ -104,7 +104,9 @@ // There is only one mandatory command

};
exports.SceneActivationCCAPI = SceneActivationCCAPI;
exports.SceneActivationCCAPI = SceneActivationCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Scene Activation"])
], SceneActivationCCAPI);
let SceneActivationCC = exports.SceneActivationCC = class SceneActivationCC extends CommandClass_1.CommandClass {
let SceneActivationCC = class SceneActivationCC extends CommandClass_1.CommandClass {
};
exports.SceneActivationCC = SceneActivationCC;
exports.SceneActivationCC = SceneActivationCC = __decorate([

@@ -115,3 +117,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Scene Activation"]),

], SceneActivationCC);
let SceneActivationCCSet = exports.SceneActivationCCSet = class SceneActivationCCSet extends SceneActivationCC {
let SceneActivationCCSet = class SceneActivationCCSet extends SceneActivationCC {
constructor(host, options) {

@@ -153,2 +155,3 @@ super(host, options);

};
exports.SceneActivationCCSet = SceneActivationCCSet;
__decorate([

@@ -155,0 +158,0 @@ (0, CommandClassDecorators_1.ccValue)(exports.SceneActivationCCValues.sceneId)

@@ -83,3 +83,3 @@ "use strict";

});
let SceneActuatorConfigurationCCAPI = exports.SceneActuatorConfigurationCCAPI = class SceneActuatorConfigurationCCAPI extends API_1.CCAPI {
let SceneActuatorConfigurationCCAPI = class SceneActuatorConfigurationCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -199,6 +199,7 @@ switch (cmd) {

};
exports.SceneActuatorConfigurationCCAPI = SceneActuatorConfigurationCCAPI;
exports.SceneActuatorConfigurationCCAPI = SceneActuatorConfigurationCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Scene Actuator Configuration"])
], SceneActuatorConfigurationCCAPI);
let SceneActuatorConfigurationCC = exports.SceneActuatorConfigurationCC = class SceneActuatorConfigurationCC extends CommandClass_1.CommandClass {
let SceneActuatorConfigurationCC = class SceneActuatorConfigurationCC extends CommandClass_1.CommandClass {
// eslint-disable-next-line @typescript-eslint/require-await

@@ -222,2 +223,3 @@ async interview(applHost) {

};
exports.SceneActuatorConfigurationCC = SceneActuatorConfigurationCC;
exports.SceneActuatorConfigurationCC = SceneActuatorConfigurationCC = __decorate([

@@ -228,3 +230,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Scene Actuator Configuration"]),

], SceneActuatorConfigurationCC);
let SceneActuatorConfigurationCCSet = exports.SceneActuatorConfigurationCCSet = class SceneActuatorConfigurationCCSet extends SceneActuatorConfigurationCC {
let SceneActuatorConfigurationCCSet = class SceneActuatorConfigurationCCSet extends SceneActuatorConfigurationCC {
constructor(host, options) {

@@ -271,2 +273,3 @@ super(host, options);

};
exports.SceneActuatorConfigurationCCSet = SceneActuatorConfigurationCCSet;
exports.SceneActuatorConfigurationCCSet = SceneActuatorConfigurationCCSet = __decorate([

@@ -276,3 +279,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SceneActuatorConfigurationCommand.Set),

], SceneActuatorConfigurationCCSet);
let SceneActuatorConfigurationCCReport = exports.SceneActuatorConfigurationCCReport = class SceneActuatorConfigurationCCReport extends SceneActuatorConfigurationCC {
let SceneActuatorConfigurationCCReport = class SceneActuatorConfigurationCCReport extends SceneActuatorConfigurationCC {
constructor(host, options) {

@@ -325,2 +328,3 @@ super(host, options);

};
exports.SceneActuatorConfigurationCCReport = SceneActuatorConfigurationCCReport;
exports.SceneActuatorConfigurationCCReport = SceneActuatorConfigurationCCReport = __decorate([

@@ -334,3 +338,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SceneActuatorConfigurationCommand.Report)

}
let SceneActuatorConfigurationCCGet = exports.SceneActuatorConfigurationCCGet = class SceneActuatorConfigurationCCGet extends SceneActuatorConfigurationCC {
let SceneActuatorConfigurationCCGet = class SceneActuatorConfigurationCCGet extends SceneActuatorConfigurationCC {
constructor(host, options) {

@@ -358,2 +362,3 @@ super(host, options);

};
exports.SceneActuatorConfigurationCCGet = SceneActuatorConfigurationCCGet;
exports.SceneActuatorConfigurationCCGet = SceneActuatorConfigurationCCGet = __decorate([

@@ -360,0 +365,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SceneActuatorConfigurationCommand.Get),

@@ -71,3 +71,3 @@ "use strict";

});
let SceneControllerConfigurationCCAPI = exports.SceneControllerConfigurationCCAPI = class SceneControllerConfigurationCCAPI extends API_1.CCAPI {
let SceneControllerConfigurationCCAPI = class SceneControllerConfigurationCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -226,6 +226,7 @@ switch (cmd) {

};
exports.SceneControllerConfigurationCCAPI = SceneControllerConfigurationCCAPI;
exports.SceneControllerConfigurationCCAPI = SceneControllerConfigurationCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Scene Controller Configuration"])
], SceneControllerConfigurationCCAPI);
let SceneControllerConfigurationCC = exports.SceneControllerConfigurationCC = SceneControllerConfigurationCC_1 = class SceneControllerConfigurationCC extends CommandClass_1.CommandClass {
let SceneControllerConfigurationCC = SceneControllerConfigurationCC_1 = class SceneControllerConfigurationCC extends CommandClass_1.CommandClass {
determineRequiredCCInterviews() {

@@ -312,2 +313,3 @@ // AssociationCC is required and MUST be interviewed

};
exports.SceneControllerConfigurationCC = SceneControllerConfigurationCC;
exports.SceneControllerConfigurationCC = SceneControllerConfigurationCC = SceneControllerConfigurationCC_1 = __decorate([

@@ -318,3 +320,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Scene Controller Configuration"]),

], SceneControllerConfigurationCC);
let SceneControllerConfigurationCCSet = exports.SceneControllerConfigurationCCSet = class SceneControllerConfigurationCCSet extends SceneControllerConfigurationCC {
let SceneControllerConfigurationCCSet = class SceneControllerConfigurationCCSet extends SceneControllerConfigurationCC {
constructor(host, options) {

@@ -356,2 +358,3 @@ super(host, options);

};
exports.SceneControllerConfigurationCCSet = SceneControllerConfigurationCCSet;
exports.SceneControllerConfigurationCCSet = SceneControllerConfigurationCCSet = __decorate([

@@ -361,3 +364,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SceneControllerConfigurationCommand.Set),

], SceneControllerConfigurationCCSet);
let SceneControllerConfigurationCCReport = exports.SceneControllerConfigurationCCReport = class SceneControllerConfigurationCCReport extends SceneControllerConfigurationCC {
let SceneControllerConfigurationCCReport = class SceneControllerConfigurationCCReport extends SceneControllerConfigurationCC {
constructor(host, options) {

@@ -400,2 +403,3 @@ super(host, options);

};
exports.SceneControllerConfigurationCCReport = SceneControllerConfigurationCCReport;
exports.SceneControllerConfigurationCCReport = SceneControllerConfigurationCCReport = __decorate([

@@ -409,3 +413,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SceneControllerConfigurationCommand.Report)

}
let SceneControllerConfigurationCCGet = exports.SceneControllerConfigurationCCGet = class SceneControllerConfigurationCCGet extends SceneControllerConfigurationCC {
let SceneControllerConfigurationCCGet = class SceneControllerConfigurationCCGet extends SceneControllerConfigurationCC {
constructor(host, options) {

@@ -433,2 +437,3 @@ super(host, options);

};
exports.SceneControllerConfigurationCCGet = SceneControllerConfigurationCCGet;
exports.SceneControllerConfigurationCCGet = SceneControllerConfigurationCCGet = __decorate([

@@ -435,0 +440,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SceneControllerConfigurationCommand.Get),

@@ -46,3 +46,3 @@ "use strict";

// want to pay the cost of validating each call
let SecurityCCAPI = exports.SecurityCCAPI = class SecurityCCAPI extends API_1.PhysicalCCAPI {
let SecurityCCAPI = class SecurityCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(_cmd) {

@@ -191,6 +191,7 @@ // All commands are mandatory

};
exports.SecurityCCAPI = SecurityCCAPI;
exports.SecurityCCAPI = SecurityCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(core_1.CommandClasses.Security)
], SecurityCCAPI);
let SecurityCC = exports.SecurityCC = SecurityCC_1 = class SecurityCC extends CommandClass_1.CommandClass {
let SecurityCC = SecurityCC_1 = class SecurityCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -319,2 +320,3 @@ const node = this.getNode(applHost);

};
exports.SecurityCC = SecurityCC;
exports.SecurityCC = SecurityCC = SecurityCC_1 = __decorate([

@@ -324,3 +326,3 @@ (0, CommandClassDecorators_1.commandClass)(core_1.CommandClasses.Security),

], SecurityCC);
let SecurityCCNonceReport = exports.SecurityCCNonceReport = class SecurityCCNonceReport extends SecurityCC {
let SecurityCCNonceReport = class SecurityCCNonceReport extends SecurityCC {
constructor(host, options) {

@@ -351,7 +353,9 @@ super(host, options);

};
exports.SecurityCCNonceReport = SecurityCCNonceReport;
exports.SecurityCCNonceReport = SecurityCCNonceReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.SecurityCommand.NonceReport)
], SecurityCCNonceReport);
let SecurityCCNonceGet = exports.SecurityCCNonceGet = class SecurityCCNonceGet extends SecurityCC {
let SecurityCCNonceGet = class SecurityCCNonceGet extends SecurityCC {
};
exports.SecurityCCNonceGet = SecurityCCNonceGet;
exports.SecurityCCNonceGet = SecurityCCNonceGet = __decorate([

@@ -366,3 +370,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SecurityCommand.NonceGet),

}
let SecurityCCCommandEncapsulation = exports.SecurityCCCommandEncapsulation = class SecurityCCCommandEncapsulation extends SecurityCC {
let SecurityCCCommandEncapsulation = class SecurityCCCommandEncapsulation extends SecurityCC {
constructor(host, options) {

@@ -380,6 +384,6 @@ super(host, options);

(0, core_1.validatePayload)(this.payload.length >= HALF_NONCE_SIZE + 1 + 1 + 1 + 8);
const iv = this.payload.slice(0, HALF_NONCE_SIZE);
const encryptedPayload = this.payload.slice(HALF_NONCE_SIZE, -9);
const iv = this.payload.subarray(0, HALF_NONCE_SIZE);
const encryptedPayload = this.payload.subarray(HALF_NONCE_SIZE, -9);
const nonceId = this.payload.at(-9);
const authCode = this.payload.slice(-8);
const authCode = this.payload.subarray(-8);
// Retrieve the used nonce from the nonce store

@@ -404,3 +408,3 @@ const nonce = this.host.securityManager.getNonce(nonceId);

this.secondFrame = !!(frameControl & 32);
this.decryptedCCBytes = frameControlAndDecryptedCC.slice(1);
this.decryptedCCBytes = frameControlAndDecryptedCC.subarray(1);
}

@@ -515,2 +519,3 @@ else {

};
exports.SecurityCCCommandEncapsulation = SecurityCCCommandEncapsulation;
exports.SecurityCCCommandEncapsulation = SecurityCCCommandEncapsulation = __decorate([

@@ -521,8 +526,9 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SecurityCommand.CommandEncapsulation),

// This is the same message, but with another CC command
let SecurityCCCommandEncapsulationNonceGet = exports.SecurityCCCommandEncapsulationNonceGet = class SecurityCCCommandEncapsulationNonceGet extends SecurityCCCommandEncapsulation {
let SecurityCCCommandEncapsulationNonceGet = class SecurityCCCommandEncapsulationNonceGet extends SecurityCCCommandEncapsulation {
};
exports.SecurityCCCommandEncapsulationNonceGet = SecurityCCCommandEncapsulationNonceGet;
exports.SecurityCCCommandEncapsulationNonceGet = SecurityCCCommandEncapsulationNonceGet = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.SecurityCommand.CommandEncapsulationNonceGet)
], SecurityCCCommandEncapsulationNonceGet);
let SecurityCCSchemeReport = exports.SecurityCCSchemeReport = class SecurityCCSchemeReport extends SecurityCC {
let SecurityCCSchemeReport = class SecurityCCSchemeReport extends SecurityCC {
constructor(host, options) {

@@ -534,6 +540,7 @@ super(host, options);

};
exports.SecurityCCSchemeReport = SecurityCCSchemeReport;
exports.SecurityCCSchemeReport = SecurityCCSchemeReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.SecurityCommand.SchemeReport)
], SecurityCCSchemeReport);
let SecurityCCSchemeGet = exports.SecurityCCSchemeGet = class SecurityCCSchemeGet extends SecurityCC {
let SecurityCCSchemeGet = class SecurityCCSchemeGet extends SecurityCC {
constructor(host, options) {

@@ -556,2 +563,3 @@ super(host, options);

};
exports.SecurityCCSchemeGet = SecurityCCSchemeGet;
exports.SecurityCCSchemeGet = SecurityCCSchemeGet = __decorate([

@@ -561,3 +569,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SecurityCommand.SchemeGet),

], SecurityCCSchemeGet);
let SecurityCCSchemeInherit = exports.SecurityCCSchemeInherit = class SecurityCCSchemeInherit extends SecurityCC {
let SecurityCCSchemeInherit = class SecurityCCSchemeInherit extends SecurityCC {
constructor(host, options) {

@@ -580,2 +588,3 @@ super(host, options);

};
exports.SecurityCCSchemeInherit = SecurityCCSchemeInherit;
exports.SecurityCCSchemeInherit = SecurityCCSchemeInherit = __decorate([

@@ -585,8 +594,9 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SecurityCommand.SchemeInherit),

], SecurityCCSchemeInherit);
let SecurityCCNetworkKeyVerify = exports.SecurityCCNetworkKeyVerify = class SecurityCCNetworkKeyVerify extends SecurityCC {
let SecurityCCNetworkKeyVerify = class SecurityCCNetworkKeyVerify extends SecurityCC {
};
exports.SecurityCCNetworkKeyVerify = SecurityCCNetworkKeyVerify;
exports.SecurityCCNetworkKeyVerify = SecurityCCNetworkKeyVerify = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.SecurityCommand.NetworkKeyVerify)
], SecurityCCNetworkKeyVerify);
let SecurityCCNetworkKeySet = exports.SecurityCCNetworkKeySet = class SecurityCCNetworkKeySet extends SecurityCC {
let SecurityCCNetworkKeySet = class SecurityCCNetworkKeySet extends SecurityCC {
constructor(host, options) {

@@ -611,2 +621,3 @@ super(host, options);

};
exports.SecurityCCNetworkKeySet = SecurityCCNetworkKeySet;
exports.SecurityCCNetworkKeySet = SecurityCCNetworkKeySet = __decorate([

@@ -616,3 +627,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SecurityCommand.NetworkKeySet),

], SecurityCCNetworkKeySet);
let SecurityCCCommandsSupportedReport = exports.SecurityCCCommandsSupportedReport = class SecurityCCCommandsSupportedReport extends SecurityCC {
let SecurityCCCommandsSupportedReport = class SecurityCCCommandsSupportedReport extends SecurityCC {
constructor(host, options) {

@@ -623,3 +634,3 @@ super(host, options);

this.reportsToFollow = this.payload[0];
const list = (0, core_1.parseCCList)(this.payload.slice(1));
const list = (0, core_1.parseCCList)(this.payload.subarray(1));
this.supportedCCs = list.supportedCCs;

@@ -678,7 +689,9 @@ this.controlledCCs = list.controlledCCs;

};
exports.SecurityCCCommandsSupportedReport = SecurityCCCommandsSupportedReport;
exports.SecurityCCCommandsSupportedReport = SecurityCCCommandsSupportedReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.SecurityCommand.CommandsSupportedReport)
], SecurityCCCommandsSupportedReport);
let SecurityCCCommandsSupportedGet = exports.SecurityCCCommandsSupportedGet = class SecurityCCCommandsSupportedGet extends SecurityCC {
let SecurityCCCommandsSupportedGet = class SecurityCCCommandsSupportedGet extends SecurityCC {
};
exports.SecurityCCCommandsSupportedGet = SecurityCCCommandsSupportedGet;
exports.SecurityCCCommandsSupportedGet = SecurityCCCommandsSupportedGet = __decorate([

@@ -685,0 +698,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SecurityCommand.CommandsSupportedGet),

@@ -76,3 +76,3 @@ "use strict";

});
let SoundSwitchCCAPI = exports.SoundSwitchCCAPI = class SoundSwitchCCAPI extends API_1.CCAPI {
let SoundSwitchCCAPI = class SoundSwitchCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -231,6 +231,7 @@ switch (cmd) {

};
exports.SoundSwitchCCAPI = SoundSwitchCCAPI;
exports.SoundSwitchCCAPI = SoundSwitchCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Sound Switch"])
], SoundSwitchCCAPI);
let SoundSwitchCC = exports.SoundSwitchCC = class SoundSwitchCC extends CommandClass_1.CommandClass {
let SoundSwitchCC = class SoundSwitchCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -313,2 +314,3 @@ const node = this.getNode(applHost);

};
exports.SoundSwitchCC = SoundSwitchCC;
exports.SoundSwitchCC = SoundSwitchCC = __decorate([

@@ -319,3 +321,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Sound Switch"]),

], SoundSwitchCC);
let SoundSwitchCCTonesNumberReport = exports.SoundSwitchCCTonesNumberReport = class SoundSwitchCCTonesNumberReport extends SoundSwitchCC {
let SoundSwitchCCTonesNumberReport = class SoundSwitchCCTonesNumberReport extends SoundSwitchCC {
constructor(host, options) {

@@ -343,7 +345,9 @@ super(host, options);

};
exports.SoundSwitchCCTonesNumberReport = SoundSwitchCCTonesNumberReport;
exports.SoundSwitchCCTonesNumberReport = SoundSwitchCCTonesNumberReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.SoundSwitchCommand.TonesNumberReport)
], SoundSwitchCCTonesNumberReport);
let SoundSwitchCCTonesNumberGet = exports.SoundSwitchCCTonesNumberGet = class SoundSwitchCCTonesNumberGet extends SoundSwitchCC {
let SoundSwitchCCTonesNumberGet = class SoundSwitchCCTonesNumberGet extends SoundSwitchCC {
};
exports.SoundSwitchCCTonesNumberGet = SoundSwitchCCTonesNumberGet;
exports.SoundSwitchCCTonesNumberGet = SoundSwitchCCTonesNumberGet = __decorate([

@@ -353,3 +357,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SoundSwitchCommand.TonesNumberGet),

], SoundSwitchCCTonesNumberGet);
let SoundSwitchCCToneInfoReport = exports.SoundSwitchCCToneInfoReport = class SoundSwitchCCToneInfoReport extends SoundSwitchCC {
let SoundSwitchCCToneInfoReport = class SoundSwitchCCToneInfoReport extends SoundSwitchCC {
constructor(host, options) {

@@ -363,3 +367,3 @@ super(host, options);

(0, safe_1.validatePayload)(this.payload.length >= 4 + nameLength);
this.name = this.payload.slice(4, 4 + nameLength).toString("utf8");
this.name = this.payload.subarray(4, 4 + nameLength).toString("utf8");
}

@@ -394,2 +398,3 @@ else {

};
exports.SoundSwitchCCToneInfoReport = SoundSwitchCCToneInfoReport;
exports.SoundSwitchCCToneInfoReport = SoundSwitchCCToneInfoReport = __decorate([

@@ -401,3 +406,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SoundSwitchCommand.ToneInfoReport)

};
let SoundSwitchCCToneInfoGet = exports.SoundSwitchCCToneInfoGet = class SoundSwitchCCToneInfoGet extends SoundSwitchCC {
let SoundSwitchCCToneInfoGet = class SoundSwitchCCToneInfoGet extends SoundSwitchCC {
constructor(host, options) {

@@ -425,2 +430,3 @@ super(host, options);

};
exports.SoundSwitchCCToneInfoGet = SoundSwitchCCToneInfoGet;
exports.SoundSwitchCCToneInfoGet = SoundSwitchCCToneInfoGet = __decorate([

@@ -430,3 +436,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SoundSwitchCommand.ToneInfoGet),

], SoundSwitchCCToneInfoGet);
let SoundSwitchCCConfigurationSet = exports.SoundSwitchCCConfigurationSet = class SoundSwitchCCConfigurationSet extends SoundSwitchCC {
let SoundSwitchCCConfigurationSet = class SoundSwitchCCConfigurationSet extends SoundSwitchCC {
constructor(host, options) {

@@ -459,2 +465,3 @@ super(host, options);

};
exports.SoundSwitchCCConfigurationSet = SoundSwitchCCConfigurationSet;
exports.SoundSwitchCCConfigurationSet = SoundSwitchCCConfigurationSet = __decorate([

@@ -464,3 +471,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SoundSwitchCommand.ConfigurationSet),

], SoundSwitchCCConfigurationSet);
let SoundSwitchCCConfigurationReport = exports.SoundSwitchCCConfigurationReport = class SoundSwitchCCConfigurationReport extends SoundSwitchCC {
let SoundSwitchCCConfigurationReport = class SoundSwitchCCConfigurationReport extends SoundSwitchCC {
constructor(host, options) {

@@ -494,2 +501,3 @@ super(host, options);

};
exports.SoundSwitchCCConfigurationReport = SoundSwitchCCConfigurationReport;
__decorate([

@@ -504,4 +512,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.SoundSwitchCCValues.defaultVolume)

], SoundSwitchCCConfigurationReport);
let SoundSwitchCCConfigurationGet = exports.SoundSwitchCCConfigurationGet = class SoundSwitchCCConfigurationGet extends SoundSwitchCC {
let SoundSwitchCCConfigurationGet = class SoundSwitchCCConfigurationGet extends SoundSwitchCC {
};
exports.SoundSwitchCCConfigurationGet = SoundSwitchCCConfigurationGet;
exports.SoundSwitchCCConfigurationGet = SoundSwitchCCConfigurationGet = __decorate([

@@ -511,3 +520,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SoundSwitchCommand.ConfigurationGet),

], SoundSwitchCCConfigurationGet);
let SoundSwitchCCTonePlaySet = exports.SoundSwitchCCTonePlaySet = class SoundSwitchCCTonePlaySet extends SoundSwitchCC {
let SoundSwitchCCTonePlaySet = class SoundSwitchCCTonePlaySet extends SoundSwitchCC {
constructor(host, options) {

@@ -549,2 +558,3 @@ super(host, options);

};
exports.SoundSwitchCCTonePlaySet = SoundSwitchCCTonePlaySet;
exports.SoundSwitchCCTonePlaySet = SoundSwitchCCTonePlaySet = __decorate([

@@ -554,3 +564,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SoundSwitchCommand.TonePlaySet),

], SoundSwitchCCTonePlaySet);
let SoundSwitchCCTonePlayReport = exports.SoundSwitchCCTonePlayReport = class SoundSwitchCCTonePlayReport extends SoundSwitchCC {
let SoundSwitchCCTonePlayReport = class SoundSwitchCCTonePlayReport extends SoundSwitchCC {
constructor(host, options) {

@@ -579,2 +589,3 @@ super(host, options);

};
exports.SoundSwitchCCTonePlayReport = SoundSwitchCCTonePlayReport;
__decorate([

@@ -589,4 +600,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.SoundSwitchCCValues.toneId)

], SoundSwitchCCTonePlayReport);
let SoundSwitchCCTonePlayGet = exports.SoundSwitchCCTonePlayGet = class SoundSwitchCCTonePlayGet extends SoundSwitchCC {
let SoundSwitchCCTonePlayGet = class SoundSwitchCCTonePlayGet extends SoundSwitchCC {
};
exports.SoundSwitchCCTonePlayGet = SoundSwitchCCTonePlayGet;
exports.SoundSwitchCCTonePlayGet = SoundSwitchCCTonePlayGet = __decorate([

@@ -593,0 +605,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SoundSwitchCommand.TonePlayGet),

@@ -29,3 +29,3 @@ "use strict";

// want to pay the cost of validating each call
let SupervisionCCAPI = exports.SupervisionCCAPI = class SupervisionCCAPI extends API_1.PhysicalCCAPI {
let SupervisionCCAPI = class SupervisionCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -76,6 +76,7 @@ switch (cmd) {

};
exports.SupervisionCCAPI = SupervisionCCAPI;
exports.SupervisionCCAPI = SupervisionCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Supervision)
], SupervisionCCAPI);
let SupervisionCC = exports.SupervisionCC = SupervisionCC_1 = class SupervisionCC extends CommandClass_1.CommandClass {
let SupervisionCC = SupervisionCC_1 = class SupervisionCC extends CommandClass_1.CommandClass {
/** Tests if a command should be supervised and thus requires encapsulation */

@@ -160,2 +161,3 @@ static requiresEncapsulation(cc) {

};
exports.SupervisionCC = SupervisionCC;
exports.SupervisionCC = SupervisionCC = SupervisionCC_1 = __decorate([

@@ -165,3 +167,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Supervision),

], SupervisionCC);
let SupervisionCCReport = exports.SupervisionCCReport = class SupervisionCCReport extends SupervisionCC {
let SupervisionCCReport = class SupervisionCCReport extends SupervisionCC {
constructor(host, options) {

@@ -240,2 +242,3 @@ super(host, options);

};
exports.SupervisionCCReport = SupervisionCCReport;
exports.SupervisionCCReport = SupervisionCCReport = __decorate([

@@ -247,3 +250,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SupervisionCommand.Report)

}
let SupervisionCCGet = exports.SupervisionCCGet = class SupervisionCCGet extends SupervisionCC {
let SupervisionCCGet = class SupervisionCCGet extends SupervisionCC {
constructor(host, options) {

@@ -256,3 +259,3 @@ super(host, options);

this.encapsulated = CommandClass_1.CommandClass.from(this.host, {
data: this.payload.slice(2),
data: this.payload.subarray(2),
fromEncapsulation: true,

@@ -299,2 +302,3 @@ encapCC: this,

};
exports.SupervisionCCGet = SupervisionCCGet;
exports.SupervisionCCGet = SupervisionCCGet = __decorate([

@@ -301,0 +305,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.SupervisionCommand.Get),

@@ -57,3 +57,3 @@ "use strict";

});
let ThermostatFanModeCCAPI = exports.ThermostatFanModeCCAPI = class ThermostatFanModeCCAPI extends API_1.CCAPI {
let ThermostatFanModeCCAPI = class ThermostatFanModeCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -148,6 +148,7 @@ switch (cmd) {

};
exports.ThermostatFanModeCCAPI = ThermostatFanModeCCAPI;
exports.ThermostatFanModeCCAPI = ThermostatFanModeCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Thermostat Fan Mode"])
], ThermostatFanModeCCAPI);
let ThermostatFanModeCC = exports.ThermostatFanModeCC = class ThermostatFanModeCC extends CommandClass_1.CommandClass {
let ThermostatFanModeCC = class ThermostatFanModeCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -218,2 +219,3 @@ const node = this.getNode(applHost);

};
exports.ThermostatFanModeCC = ThermostatFanModeCC;
exports.ThermostatFanModeCC = ThermostatFanModeCC = __decorate([

@@ -224,3 +226,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Thermostat Fan Mode"]),

], ThermostatFanModeCC);
let ThermostatFanModeCCSet = exports.ThermostatFanModeCCSet = class ThermostatFanModeCCSet extends ThermostatFanModeCC {
let ThermostatFanModeCCSet = class ThermostatFanModeCCSet extends ThermostatFanModeCC {
constructor(host, options) {

@@ -256,2 +258,3 @@ super(host, options);

};
exports.ThermostatFanModeCCSet = ThermostatFanModeCCSet;
exports.ThermostatFanModeCCSet = ThermostatFanModeCCSet = __decorate([

@@ -261,3 +264,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatFanModeCommand.Set),

], ThermostatFanModeCCSet);
let ThermostatFanModeCCReport = exports.ThermostatFanModeCCReport = class ThermostatFanModeCCReport extends ThermostatFanModeCC {
let ThermostatFanModeCCReport = class ThermostatFanModeCCReport extends ThermostatFanModeCC {
constructor(host, options) {

@@ -286,2 +289,3 @@ super(host, options);

};
exports.ThermostatFanModeCCReport = ThermostatFanModeCCReport;
__decorate([

@@ -296,4 +300,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ThermostatFanModeCCValues.fanMode)

], ThermostatFanModeCCReport);
let ThermostatFanModeCCGet = exports.ThermostatFanModeCCGet = class ThermostatFanModeCCGet extends ThermostatFanModeCC {
let ThermostatFanModeCCGet = class ThermostatFanModeCCGet extends ThermostatFanModeCC {
};
exports.ThermostatFanModeCCGet = ThermostatFanModeCCGet;
exports.ThermostatFanModeCCGet = ThermostatFanModeCCGet = __decorate([

@@ -303,3 +308,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatFanModeCommand.Get),

], ThermostatFanModeCCGet);
let ThermostatFanModeCCSupportedReport = exports.ThermostatFanModeCCSupportedReport = class ThermostatFanModeCCSupportedReport extends ThermostatFanModeCC {
let ThermostatFanModeCCSupportedReport = class ThermostatFanModeCCSupportedReport extends ThermostatFanModeCC {
constructor(host, options) {

@@ -332,2 +337,3 @@ super(host, options);

};
exports.ThermostatFanModeCCSupportedReport = ThermostatFanModeCCSupportedReport;
__decorate([

@@ -339,4 +345,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ThermostatFanModeCCValues.supportedFanModes)

], ThermostatFanModeCCSupportedReport);
let ThermostatFanModeCCSupportedGet = exports.ThermostatFanModeCCSupportedGet = class ThermostatFanModeCCSupportedGet extends ThermostatFanModeCC {
let ThermostatFanModeCCSupportedGet = class ThermostatFanModeCCSupportedGet extends ThermostatFanModeCC {
};
exports.ThermostatFanModeCCSupportedGet = ThermostatFanModeCCSupportedGet;
exports.ThermostatFanModeCCSupportedGet = ThermostatFanModeCCSupportedGet = __decorate([

@@ -343,0 +350,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatFanModeCommand.SupportedGet),

@@ -26,3 +26,3 @@ "use strict";

});
let ThermostatFanStateCCAPI = exports.ThermostatFanStateCCAPI = class ThermostatFanStateCCAPI extends API_1.CCAPI {
let ThermostatFanStateCCAPI = class ThermostatFanStateCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -58,6 +58,7 @@ switch (cmd) {

};
exports.ThermostatFanStateCCAPI = ThermostatFanStateCCAPI;
exports.ThermostatFanStateCCAPI = ThermostatFanStateCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Thermostat Fan State"])
], ThermostatFanStateCCAPI);
let ThermostatFanStateCC = exports.ThermostatFanStateCC = class ThermostatFanStateCC extends CommandClass_1.CommandClass {
let ThermostatFanStateCC = class ThermostatFanStateCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -97,2 +98,3 @@ const node = this.getNode(applHost);

};
exports.ThermostatFanStateCC = ThermostatFanStateCC;
exports.ThermostatFanStateCC = ThermostatFanStateCC = __decorate([

@@ -103,3 +105,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Thermostat Fan State"]),

], ThermostatFanStateCC);
let ThermostatFanStateCCReport = exports.ThermostatFanStateCCReport = class ThermostatFanStateCCReport extends ThermostatFanStateCC {
let ThermostatFanStateCCReport = class ThermostatFanStateCCReport extends ThermostatFanStateCC {
constructor(host, options) {

@@ -121,2 +123,3 @@ super(host, options);

};
exports.ThermostatFanStateCCReport = ThermostatFanStateCCReport;
__decorate([

@@ -128,4 +131,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ThermostatFanStateCCValues.fanState)

], ThermostatFanStateCCReport);
let ThermostatFanStateCCGet = exports.ThermostatFanStateCCGet = class ThermostatFanStateCCGet extends ThermostatFanStateCC {
let ThermostatFanStateCCGet = class ThermostatFanStateCCGet extends ThermostatFanStateCC {
};
exports.ThermostatFanStateCCGet = ThermostatFanStateCCGet;
exports.ThermostatFanStateCCGet = ThermostatFanStateCCGet = __decorate([

@@ -132,0 +136,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatFanStateCommand.Get),

@@ -69,3 +69,3 @@ "use strict";

});
let ThermostatModeCCAPI = exports.ThermostatModeCCAPI = class ThermostatModeCCAPI extends API_1.CCAPI {
let ThermostatModeCCAPI = class ThermostatModeCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -151,6 +151,7 @@ switch (cmd) {

};
exports.ThermostatModeCCAPI = ThermostatModeCCAPI;
exports.ThermostatModeCCAPI = ThermostatModeCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Thermostat Mode"])
], ThermostatModeCCAPI);
let ThermostatModeCC = exports.ThermostatModeCC = class ThermostatModeCC extends CommandClass_1.CommandClass {
let ThermostatModeCC = class ThermostatModeCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -219,2 +220,3 @@ const node = this.getNode(applHost);

};
exports.ThermostatModeCC = ThermostatModeCC;
exports.ThermostatModeCC = ThermostatModeCC = __decorate([

@@ -225,3 +227,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Thermostat Mode"]),

], ThermostatModeCC);
let ThermostatModeCCSet = exports.ThermostatModeCCSet = class ThermostatModeCCSet extends ThermostatModeCC {
let ThermostatModeCCSet = class ThermostatModeCCSet extends ThermostatModeCC {
constructor(host, options) {

@@ -235,3 +237,3 @@ super(host, options);

(0, safe_1.validatePayload)(this.payload.length >= 1 + manufacturerDataLength);
this.manufacturerData = this.payload.slice(1, 1 + manufacturerDataLength);
this.manufacturerData = this.payload.subarray(1, 1 + manufacturerDataLength);
}

@@ -276,2 +278,3 @@ }

};
exports.ThermostatModeCCSet = ThermostatModeCCSet;
exports.ThermostatModeCCSet = ThermostatModeCCSet = __decorate([

@@ -281,3 +284,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatModeCommand.Set),

], ThermostatModeCCSet);
let ThermostatModeCCReport = exports.ThermostatModeCCReport = class ThermostatModeCCReport extends ThermostatModeCC {
let ThermostatModeCCReport = class ThermostatModeCCReport extends ThermostatModeCC {
constructor(host, options) {

@@ -292,3 +295,3 @@ super(host, options);

if (manufacturerDataLength) {
this.manufacturerData = this.payload.slice(1, 1 + manufacturerDataLength);
this.manufacturerData = this.payload.subarray(1, 1 + manufacturerDataLength);
}

@@ -350,2 +353,3 @@ }

};
exports.ThermostatModeCCReport = ThermostatModeCCReport;
__decorate([

@@ -360,4 +364,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ThermostatModeCCValues.thermostatMode)

], ThermostatModeCCReport);
let ThermostatModeCCGet = exports.ThermostatModeCCGet = class ThermostatModeCCGet extends ThermostatModeCC {
let ThermostatModeCCGet = class ThermostatModeCCGet extends ThermostatModeCC {
};
exports.ThermostatModeCCGet = ThermostatModeCCGet;
exports.ThermostatModeCCGet = ThermostatModeCCGet = __decorate([

@@ -367,3 +372,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatModeCommand.Get),

], ThermostatModeCCGet);
let ThermostatModeCCSupportedReport = exports.ThermostatModeCCSupportedReport = class ThermostatModeCCSupportedReport extends ThermostatModeCC {
let ThermostatModeCCSupportedReport = class ThermostatModeCCSupportedReport extends ThermostatModeCC {
constructor(host, options) {

@@ -405,2 +410,3 @@ super(host, options);

};
exports.ThermostatModeCCSupportedReport = ThermostatModeCCSupportedReport;
__decorate([

@@ -412,4 +418,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ThermostatModeCCValues.supportedModes)

], ThermostatModeCCSupportedReport);
let ThermostatModeCCSupportedGet = exports.ThermostatModeCCSupportedGet = class ThermostatModeCCSupportedGet extends ThermostatModeCC {
let ThermostatModeCCSupportedGet = class ThermostatModeCCSupportedGet extends ThermostatModeCC {
};
exports.ThermostatModeCCSupportedGet = ThermostatModeCCSupportedGet;
exports.ThermostatModeCCSupportedGet = ThermostatModeCCSupportedGet = __decorate([

@@ -416,0 +423,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatModeCommand.SupportedGet),

@@ -27,3 +27,3 @@ "use strict";

// @noSetValueAPI This CC is read-only
let ThermostatOperatingStateCCAPI = exports.ThermostatOperatingStateCCAPI = class ThermostatOperatingStateCCAPI extends API_1.PhysicalCCAPI {
let ThermostatOperatingStateCCAPI = class ThermostatOperatingStateCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -56,6 +56,7 @@ switch (cmd) {

};
exports.ThermostatOperatingStateCCAPI = ThermostatOperatingStateCCAPI;
exports.ThermostatOperatingStateCCAPI = ThermostatOperatingStateCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Thermostat Operating State"])
], ThermostatOperatingStateCCAPI);
let ThermostatOperatingStateCC = exports.ThermostatOperatingStateCC = class ThermostatOperatingStateCC extends CommandClass_1.CommandClass {
let ThermostatOperatingStateCC = class ThermostatOperatingStateCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -94,2 +95,3 @@ const node = this.getNode(applHost);

};
exports.ThermostatOperatingStateCC = ThermostatOperatingStateCC;
exports.ThermostatOperatingStateCC = ThermostatOperatingStateCC = __decorate([

@@ -100,3 +102,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Thermostat Operating State"]),

], ThermostatOperatingStateCC);
let ThermostatOperatingStateCCReport = exports.ThermostatOperatingStateCCReport = class ThermostatOperatingStateCCReport extends ThermostatOperatingStateCC {
let ThermostatOperatingStateCCReport = class ThermostatOperatingStateCCReport extends ThermostatOperatingStateCC {
constructor(host, options) {

@@ -117,2 +119,3 @@ super(host, options);

};
exports.ThermostatOperatingStateCCReport = ThermostatOperatingStateCCReport;
__decorate([

@@ -124,4 +127,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ThermostatOperatingStateCCValues.operatingState)

], ThermostatOperatingStateCCReport);
let ThermostatOperatingStateCCGet = exports.ThermostatOperatingStateCCGet = class ThermostatOperatingStateCCGet extends ThermostatOperatingStateCC {
let ThermostatOperatingStateCCGet = class ThermostatOperatingStateCCGet extends ThermostatOperatingStateCC {
};
exports.ThermostatOperatingStateCCGet = ThermostatOperatingStateCCGet;
exports.ThermostatOperatingStateCCGet = ThermostatOperatingStateCCGet = __decorate([

@@ -128,0 +132,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatOperatingStateCommand.Get),

@@ -71,3 +71,3 @@ "use strict";

// The setback state consist of two values that must be set together
let ThermostatSetbackCCAPI = exports.ThermostatSetbackCCAPI = class ThermostatSetbackCCAPI extends API_1.CCAPI {
let ThermostatSetbackCCAPI = class ThermostatSetbackCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -118,6 +118,7 @@ switch (cmd) {

};
exports.ThermostatSetbackCCAPI = ThermostatSetbackCCAPI;
exports.ThermostatSetbackCCAPI = ThermostatSetbackCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Thermostat Setback"])
], ThermostatSetbackCCAPI);
let ThermostatSetbackCC = exports.ThermostatSetbackCC = class ThermostatSetbackCC extends CommandClass_1.CommandClass {
let ThermostatSetbackCC = class ThermostatSetbackCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -159,2 +160,3 @@ const node = this.getNode(applHost);

};
exports.ThermostatSetbackCC = ThermostatSetbackCC;
exports.ThermostatSetbackCC = ThermostatSetbackCC = __decorate([

@@ -165,3 +167,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Thermostat Setback"]),

], ThermostatSetbackCC);
let ThermostatSetbackCCSet = exports.ThermostatSetbackCCSet = class ThermostatSetbackCCSet extends ThermostatSetbackCC {
let ThermostatSetbackCCSet = class ThermostatSetbackCCSet extends ThermostatSetbackCC {
constructor(host, options) {

@@ -198,2 +200,3 @@ super(host, options);

};
exports.ThermostatSetbackCCSet = ThermostatSetbackCCSet;
exports.ThermostatSetbackCCSet = ThermostatSetbackCCSet = __decorate([

@@ -203,3 +206,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatSetbackCommand.Set),

], ThermostatSetbackCCSet);
let ThermostatSetbackCCReport = exports.ThermostatSetbackCCReport = class ThermostatSetbackCCReport extends ThermostatSetbackCC {
let ThermostatSetbackCCReport = class ThermostatSetbackCCReport extends ThermostatSetbackCC {
constructor(host, options) {

@@ -225,2 +228,3 @@ super(host, options);

};
exports.ThermostatSetbackCCReport = ThermostatSetbackCCReport;
__decorate([

@@ -236,4 +240,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ThermostatSetbackCCValues.setbackType)

], ThermostatSetbackCCReport);
let ThermostatSetbackCCGet = exports.ThermostatSetbackCCGet = class ThermostatSetbackCCGet extends ThermostatSetbackCC {
let ThermostatSetbackCCGet = class ThermostatSetbackCCGet extends ThermostatSetbackCC {
};
exports.ThermostatSetbackCCGet = ThermostatSetbackCCGet;
exports.ThermostatSetbackCCGet = ThermostatSetbackCCGet = __decorate([

@@ -240,0 +245,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatSetbackCommand.Get),

@@ -71,3 +71,3 @@ "use strict";

});
let ThermostatSetpointCCAPI = exports.ThermostatSetpointCCAPI = class ThermostatSetpointCCAPI extends API_1.CCAPI {
let ThermostatSetpointCCAPI = class ThermostatSetpointCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -189,6 +189,7 @@ switch (cmd) {

};
exports.ThermostatSetpointCCAPI = ThermostatSetpointCCAPI;
exports.ThermostatSetpointCCAPI = ThermostatSetpointCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Thermostat Setpoint"])
], ThermostatSetpointCCAPI);
let ThermostatSetpointCC = exports.ThermostatSetpointCC = class ThermostatSetpointCC extends CommandClass_1.CommandClass {
let ThermostatSetpointCC = class ThermostatSetpointCC extends CommandClass_1.CommandClass {
translatePropertyKey(applHost, property, propertyKey) {

@@ -402,2 +403,3 @@ if (property === "setpoint") {

};
exports.ThermostatSetpointCC = ThermostatSetpointCC;
exports.ThermostatSetpointCC = ThermostatSetpointCC = __decorate([

@@ -408,3 +410,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Thermostat Setpoint"]),

], ThermostatSetpointCC);
let ThermostatSetpointCCSet = exports.ThermostatSetpointCCSet = class ThermostatSetpointCCSet extends ThermostatSetpointCC {
let ThermostatSetpointCCSet = class ThermostatSetpointCCSet extends ThermostatSetpointCC {
constructor(host, options) {

@@ -416,3 +418,3 @@ super(host, options);

// parseFloatWithScale does its own validation
const { value, scale } = (0, safe_1.parseFloatWithScale)(this.payload.slice(1));
const { value, scale } = (0, safe_1.parseFloatWithScale)(this.payload.subarray(1));
this.value = value;

@@ -451,2 +453,3 @@ this.scale = scale;

};
exports.ThermostatSetpointCCSet = ThermostatSetpointCCSet;
exports.ThermostatSetpointCCSet = ThermostatSetpointCCSet = __decorate([

@@ -456,3 +459,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatSetpointCommand.Set),

], ThermostatSetpointCCSet);
let ThermostatSetpointCCReport = exports.ThermostatSetpointCCReport = class ThermostatSetpointCCReport extends ThermostatSetpointCC {
let ThermostatSetpointCCReport = class ThermostatSetpointCCReport extends ThermostatSetpointCC {
constructor(host, options) {

@@ -470,3 +473,3 @@ super(host, options);

// parseFloatWithScale does its own validation
const { value, scale } = (0, safe_1.parseFloatWithScale)(this.payload.slice(1));
const { value, scale } = (0, safe_1.parseFloatWithScale)(this.payload.subarray(1));
this.value = value;

@@ -520,2 +523,3 @@ this.scale = scale;

};
exports.ThermostatSetpointCCReport = ThermostatSetpointCCReport;
exports.ThermostatSetpointCCReport = ThermostatSetpointCCReport = __decorate([

@@ -528,3 +532,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatSetpointCommand.Report)

}
let ThermostatSetpointCCGet = exports.ThermostatSetpointCCGet = class ThermostatSetpointCCGet extends ThermostatSetpointCC {
let ThermostatSetpointCCGet = class ThermostatSetpointCCGet extends ThermostatSetpointCC {
constructor(host, options) {

@@ -554,2 +558,3 @@ super(host, options);

};
exports.ThermostatSetpointCCGet = ThermostatSetpointCCGet;
exports.ThermostatSetpointCCGet = ThermostatSetpointCCGet = __decorate([

@@ -559,3 +564,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatSetpointCommand.Get),

], ThermostatSetpointCCGet);
let ThermostatSetpointCCCapabilitiesReport = exports.ThermostatSetpointCCCapabilitiesReport = class ThermostatSetpointCCCapabilitiesReport extends ThermostatSetpointCC {
let ThermostatSetpointCCCapabilitiesReport = class ThermostatSetpointCCCapabilitiesReport extends ThermostatSetpointCC {
constructor(host, options) {

@@ -572,5 +577,5 @@ super(host, options);

bytesRead,
} = (0, safe_1.parseFloatWithScale)(this.payload.slice(1)));
} = (0, safe_1.parseFloatWithScale)(this.payload.subarray(1)));
({ value: this.maxValue, scale: this.maxValueScale } =
(0, safe_1.parseFloatWithScale)(this.payload.slice(1 + bytesRead)));
(0, safe_1.parseFloatWithScale)(this.payload.subarray(1 + bytesRead)));
}

@@ -623,6 +628,7 @@ else {

};
exports.ThermostatSetpointCCCapabilitiesReport = ThermostatSetpointCCCapabilitiesReport;
exports.ThermostatSetpointCCCapabilitiesReport = ThermostatSetpointCCCapabilitiesReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatSetpointCommand.CapabilitiesReport)
], ThermostatSetpointCCCapabilitiesReport);
let ThermostatSetpointCCCapabilitiesGet = exports.ThermostatSetpointCCCapabilitiesGet = class ThermostatSetpointCCCapabilitiesGet extends ThermostatSetpointCC {
let ThermostatSetpointCCCapabilitiesGet = class ThermostatSetpointCCCapabilitiesGet extends ThermostatSetpointCC {
constructor(host, options) {

@@ -652,2 +658,3 @@ super(host, options);

};
exports.ThermostatSetpointCCCapabilitiesGet = ThermostatSetpointCCCapabilitiesGet;
exports.ThermostatSetpointCCCapabilitiesGet = ThermostatSetpointCCCapabilitiesGet = __decorate([

@@ -657,3 +664,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatSetpointCommand.CapabilitiesGet),

], ThermostatSetpointCCCapabilitiesGet);
let ThermostatSetpointCCSupportedReport = exports.ThermostatSetpointCCSupportedReport = class ThermostatSetpointCCSupportedReport extends ThermostatSetpointCC {
let ThermostatSetpointCCSupportedReport = class ThermostatSetpointCCSupportedReport extends ThermostatSetpointCC {
constructor(host, options) {

@@ -712,2 +719,3 @@ super(host, options);

};
exports.ThermostatSetpointCCSupportedReport = ThermostatSetpointCCSupportedReport;
__decorate([

@@ -719,4 +727,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ThermostatSetpointCCValues.supportedSetpointTypes)

], ThermostatSetpointCCSupportedReport);
let ThermostatSetpointCCSupportedGet = exports.ThermostatSetpointCCSupportedGet = class ThermostatSetpointCCSupportedGet extends ThermostatSetpointCC {
let ThermostatSetpointCCSupportedGet = class ThermostatSetpointCCSupportedGet extends ThermostatSetpointCC {
};
exports.ThermostatSetpointCCSupportedGet = ThermostatSetpointCCSupportedGet;
exports.ThermostatSetpointCCSupportedGet = ThermostatSetpointCCSupportedGet = __decorate([

@@ -723,0 +732,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ThermostatSetpointCommand.SupportedGet),

@@ -76,3 +76,3 @@ "use strict";

// Only the timezone information can be set and that accepts a non-primitive value
let TimeCCAPI = exports.TimeCCAPI = class TimeCCAPI extends API_1.CCAPI {
let TimeCCAPI = class TimeCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -182,6 +182,7 @@ switch (cmd) {

};
exports.TimeCCAPI = TimeCCAPI;
exports.TimeCCAPI = TimeCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(core_1.CommandClasses.Time)
], TimeCCAPI);
let TimeCC = exports.TimeCC = class TimeCC extends CommandClass_1.CommandClass {
let TimeCC = class TimeCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -213,2 +214,3 @@ const node = this.getNode(applHost);

};
exports.TimeCC = TimeCC;
exports.TimeCC = TimeCC = __decorate([

@@ -218,3 +220,3 @@ (0, CommandClassDecorators_1.commandClass)(core_1.CommandClasses.Time),

], TimeCC);
let TimeCCTimeReport = exports.TimeCCTimeReport = class TimeCCTimeReport extends TimeCC {
let TimeCCTimeReport = class TimeCCTimeReport extends TimeCC {
constructor(host, options) {

@@ -257,7 +259,9 @@ super(host, options);

};
exports.TimeCCTimeReport = TimeCCTimeReport;
exports.TimeCCTimeReport = TimeCCTimeReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.TimeCommand.TimeReport)
], TimeCCTimeReport);
let TimeCCTimeGet = exports.TimeCCTimeGet = class TimeCCTimeGet extends TimeCC {
let TimeCCTimeGet = class TimeCCTimeGet extends TimeCC {
};
exports.TimeCCTimeGet = TimeCCTimeGet;
exports.TimeCCTimeGet = TimeCCTimeGet = __decorate([

@@ -267,3 +271,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.TimeCommand.TimeGet),

], TimeCCTimeGet);
let TimeCCDateReport = exports.TimeCCDateReport = class TimeCCDateReport extends TimeCC {
let TimeCCDateReport = class TimeCCDateReport extends TimeCC {
constructor(host, options) {

@@ -306,7 +310,9 @@ super(host, options);

};
exports.TimeCCDateReport = TimeCCDateReport;
exports.TimeCCDateReport = TimeCCDateReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.TimeCommand.DateReport)
], TimeCCDateReport);
let TimeCCDateGet = exports.TimeCCDateGet = class TimeCCDateGet extends TimeCC {
let TimeCCDateGet = class TimeCCDateGet extends TimeCC {
};
exports.TimeCCDateGet = TimeCCDateGet;
exports.TimeCCDateGet = TimeCCDateGet = __decorate([

@@ -316,3 +322,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.TimeCommand.DateGet),

], TimeCCDateGet);
let TimeCCTimeOffsetSet = exports.TimeCCTimeOffsetSet = class TimeCCTimeOffsetSet extends TimeCC {
let TimeCCTimeOffsetSet = class TimeCCTimeOffsetSet extends TimeCC {
constructor(host, options) {

@@ -364,2 +370,3 @@ super(host, options);

};
exports.TimeCCTimeOffsetSet = TimeCCTimeOffsetSet;
exports.TimeCCTimeOffsetSet = TimeCCTimeOffsetSet = __decorate([

@@ -369,3 +376,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.TimeCommand.TimeOffsetSet),

], TimeCCTimeOffsetSet);
let TimeCCTimeOffsetReport = exports.TimeCCTimeOffsetReport = class TimeCCTimeOffsetReport extends TimeCC {
let TimeCCTimeOffsetReport = class TimeCCTimeOffsetReport extends TimeCC {
constructor(host, options) {

@@ -422,7 +429,9 @@ super(host, options);

};
exports.TimeCCTimeOffsetReport = TimeCCTimeOffsetReport;
exports.TimeCCTimeOffsetReport = TimeCCTimeOffsetReport = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.TimeCommand.TimeOffsetReport)
], TimeCCTimeOffsetReport);
let TimeCCTimeOffsetGet = exports.TimeCCTimeOffsetGet = class TimeCCTimeOffsetGet extends TimeCC {
let TimeCCTimeOffsetGet = class TimeCCTimeOffsetGet extends TimeCC {
};
exports.TimeCCTimeOffsetGet = TimeCCTimeOffsetGet;
exports.TimeCCTimeOffsetGet = TimeCCTimeOffsetGet = __decorate([

@@ -429,0 +438,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.TimeCommand.TimeOffsetGet),

@@ -82,3 +82,3 @@ "use strict";

}
let TimeParametersCCAPI = exports.TimeParametersCCAPI = class TimeParametersCCAPI extends API_1.CCAPI {
let TimeParametersCCAPI = class TimeParametersCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -138,6 +138,7 @@ switch (cmd) {

};
exports.TimeParametersCCAPI = TimeParametersCCAPI;
exports.TimeParametersCCAPI = TimeParametersCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(core_1.CommandClasses["Time Parameters"])
], TimeParametersCCAPI);
let TimeParametersCC = exports.TimeParametersCC = class TimeParametersCC extends CommandClass_1.CommandClass {
let TimeParametersCC = class TimeParametersCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -165,2 +166,3 @@ const node = this.getNode(applHost);

};
exports.TimeParametersCC = TimeParametersCC;
exports.TimeParametersCC = TimeParametersCC = __decorate([

@@ -171,3 +173,3 @@ (0, CommandClassDecorators_1.commandClass)(core_1.CommandClasses["Time Parameters"]),

], TimeParametersCC);
let TimeParametersCCReport = exports.TimeParametersCCReport = class TimeParametersCCReport extends TimeParametersCC {
let TimeParametersCCReport = class TimeParametersCCReport extends TimeParametersCC {
constructor(host, options) {

@@ -213,2 +215,3 @@ super(host, options);

};
exports.TimeParametersCCReport = TimeParametersCCReport;
__decorate([

@@ -220,4 +223,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.TimeParametersCCValues.dateAndTime)

], TimeParametersCCReport);
let TimeParametersCCGet = exports.TimeParametersCCGet = class TimeParametersCCGet extends TimeParametersCC {
let TimeParametersCCGet = class TimeParametersCCGet extends TimeParametersCC {
};
exports.TimeParametersCCGet = TimeParametersCCGet;
exports.TimeParametersCCGet = TimeParametersCCGet = __decorate([

@@ -227,3 +231,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.TimeParametersCommand.Get),

], TimeParametersCCGet);
let TimeParametersCCSet = exports.TimeParametersCCSet = class TimeParametersCCSet extends TimeParametersCC {
let TimeParametersCCSet = class TimeParametersCCSet extends TimeParametersCC {
constructor(host, options) {

@@ -290,2 +294,3 @@ super(host, options);

};
exports.TimeParametersCCSet = TimeParametersCCSet;
exports.TimeParametersCCSet = TimeParametersCCSet = __decorate([

@@ -292,0 +297,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.TimeParametersCommand.Set),

@@ -33,3 +33,3 @@ "use strict";

};
let TransportServiceCC = exports.TransportServiceCC = class TransportServiceCC extends CommandClass_1.CommandClass {
let TransportServiceCC = class TransportServiceCC extends CommandClass_1.CommandClass {
// Override the default helper method

@@ -56,2 +56,3 @@ static getCCCommand(data) {

};
exports.TransportServiceCC = TransportServiceCC;
exports.TransportServiceCC = TransportServiceCC = __decorate([

@@ -68,3 +69,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Transport Service"]),

exports.isTransportServiceEncapsulation = isTransportServiceEncapsulation;
let TransportServiceCCFirstSegment = exports.TransportServiceCCFirstSegment = class TransportServiceCCFirstSegment extends TransportServiceCC {
let TransportServiceCCFirstSegment = class TransportServiceCCFirstSegment extends TransportServiceCC {
constructor(host, options) {

@@ -81,3 +82,3 @@ super(host, options);

]);
const ccBuffer = this.payload.slice(1, -2);
const ccBuffer = this.payload.subarray(1, -2);
let expectedCRC = (0, safe_1.CRC16_CCITT)(headerBuffer);

@@ -94,6 +95,6 @@ expectedCRC = (0, safe_1.CRC16_CCITT)(ccBuffer, expectedCRC);

const extLength = this.payload[3];
this.headerExtension = this.payload.slice(4, 4 + extLength);
this.headerExtension = this.payload.subarray(4, 4 + extLength);
payloadOffset += 1 + extLength;
}
this.partialDatagram = this.payload.slice(payloadOffset, -2);
this.partialDatagram = this.payload.subarray(payloadOffset, -2);
// A node supporting the Transport Service Command Class, version 2

@@ -140,3 +141,3 @@ // MUST NOT send Transport Service segments with the Payload field longer than 39 bytes.

let crc = (0, safe_1.CRC16_CCITT)(headerBuffer);
crc = (0, safe_1.CRC16_CCITT)(this.payload.slice(0, -2), crc);
crc = (0, safe_1.CRC16_CCITT)(this.payload.subarray(0, -2), crc);
// Write the checksum into the last two bytes of the payload

@@ -173,2 +174,3 @@ this.payload.writeUInt16BE(crc, this.payload.length - 2);

};
exports.TransportServiceCCFirstSegment = TransportServiceCCFirstSegment;
exports.TransportServiceCCFirstSegment = TransportServiceCCFirstSegment = __decorate([

@@ -178,3 +180,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.TransportServiceCommand.FirstSegment)

], TransportServiceCCFirstSegment);
let TransportServiceCCSubsequentSegment = exports.TransportServiceCCSubsequentSegment = class TransportServiceCCSubsequentSegment extends TransportServiceCC {
let TransportServiceCCSubsequentSegment = class TransportServiceCCSubsequentSegment extends TransportServiceCC {
constructor(host, options) {

@@ -191,3 +193,3 @@ super(host, options);

]);
const ccBuffer = this.payload.slice(1, -2);
const ccBuffer = this.payload.subarray(1, -2);
let expectedCRC = (0, safe_1.CRC16_CCITT)(headerBuffer);

@@ -206,6 +208,6 @@ expectedCRC = (0, safe_1.CRC16_CCITT)(ccBuffer, expectedCRC);

const extLength = this.payload[4];
this.headerExtension = this.payload.slice(5, 5 + extLength);
this.headerExtension = this.payload.subarray(5, 5 + extLength);
payloadOffset += 1 + extLength;
}
this.partialDatagram = this.payload.slice(payloadOffset, -2);
this.partialDatagram = this.payload.subarray(payloadOffset, -2);
// A node supporting the Transport Service Command Class, version 2

@@ -303,3 +305,3 @@ // MUST NOT send Transport Service segments with the Payload field longer than 39 bytes.

let crc = (0, safe_1.CRC16_CCITT)(headerBuffer);
crc = (0, safe_1.CRC16_CCITT)(this.payload.slice(0, -2), crc);
crc = (0, safe_1.CRC16_CCITT)(this.payload.subarray(0, -2), crc);
// Write the checksum into the last two bytes of the payload

@@ -329,2 +331,3 @@ this.payload.writeUInt16BE(crc, this.payload.length - 2);

};
exports.TransportServiceCCSubsequentSegment = TransportServiceCCSubsequentSegment;
exports.TransportServiceCCSubsequentSegment = TransportServiceCCSubsequentSegment = __decorate([

@@ -343,3 +346,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.TransportServiceCommand.SubsequentSegment)

}
let TransportServiceCCSegmentRequest = exports.TransportServiceCCSegmentRequest = class TransportServiceCCSegmentRequest extends TransportServiceCC {
let TransportServiceCCSegmentRequest = class TransportServiceCCSegmentRequest extends TransportServiceCC {
constructor(host, options) {

@@ -378,2 +381,3 @@ super(host, options);

};
exports.TransportServiceCCSegmentRequest = TransportServiceCCSegmentRequest;
exports.TransportServiceCCSegmentRequest = TransportServiceCCSegmentRequest = __decorate([

@@ -383,3 +387,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.TransportServiceCommand.SegmentRequest),

], TransportServiceCCSegmentRequest);
let TransportServiceCCSegmentComplete = exports.TransportServiceCCSegmentComplete = class TransportServiceCCSegmentComplete extends TransportServiceCC {
let TransportServiceCCSegmentComplete = class TransportServiceCCSegmentComplete extends TransportServiceCC {
constructor(host, options) {

@@ -407,6 +411,7 @@ super(host, options);

};
exports.TransportServiceCCSegmentComplete = TransportServiceCCSegmentComplete;
exports.TransportServiceCCSegmentComplete = TransportServiceCCSegmentComplete = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.TransportServiceCommand.SegmentComplete)
], TransportServiceCCSegmentComplete);
let TransportServiceCCSegmentWait = exports.TransportServiceCCSegmentWait = class TransportServiceCCSegmentWait extends TransportServiceCC {
let TransportServiceCCSegmentWait = class TransportServiceCCSegmentWait extends TransportServiceCC {
constructor(host, options) {

@@ -434,2 +439,3 @@ super(host, options);

};
exports.TransportServiceCCSegmentWait = TransportServiceCCSegmentWait;
exports.TransportServiceCCSegmentWait = TransportServiceCCSegmentWait = __decorate([

@@ -436,0 +442,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.TransportServiceCommand.SegmentWait)

@@ -180,3 +180,3 @@ "use strict";

// @noSetValueAPI This CC is read-only
let VersionCCAPI = exports.VersionCCAPI = class VersionCCAPI extends API_1.PhysicalCCAPI {
let VersionCCAPI = class VersionCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -283,6 +283,7 @@ switch (cmd) {

};
exports.VersionCCAPI = VersionCCAPI;
exports.VersionCCAPI = VersionCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses.Version)
], VersionCCAPI);
let VersionCC = exports.VersionCC = class VersionCC extends CommandClass_1.CommandClass {
let VersionCC = class VersionCC extends CommandClass_1.CommandClass {
determineRequiredCCInterviews() {

@@ -444,2 +445,3 @@ // VersionCC must be the 2nd CC after ManufacturerSpecificCC

};
exports.VersionCC = VersionCC;
exports.VersionCC = VersionCC = __decorate([

@@ -450,3 +452,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses.Version),

], VersionCC);
let VersionCCReport = exports.VersionCCReport = class VersionCCReport extends VersionCC {
let VersionCCReport = class VersionCCReport extends VersionCC {
constructor(host, options) {

@@ -533,2 +535,3 @@ super(host, options);

};
exports.VersionCCReport = VersionCCReport;
__decorate([

@@ -549,4 +552,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.libraryType)

], VersionCCReport);
let VersionCCGet = exports.VersionCCGet = class VersionCCGet extends VersionCC {
let VersionCCGet = class VersionCCGet extends VersionCC {
};
exports.VersionCCGet = VersionCCGet;
exports.VersionCCGet = VersionCCGet = __decorate([

@@ -556,3 +560,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.Get),

], VersionCCGet);
let VersionCCCommandClassReport = exports.VersionCCCommandClassReport = class VersionCCCommandClassReport extends VersionCC {
let VersionCCCommandClassReport = class VersionCCCommandClassReport extends VersionCC {
constructor(host, options) {

@@ -586,2 +590,3 @@ super(host, options);

};
exports.VersionCCCommandClassReport = VersionCCCommandClassReport;
exports.VersionCCCommandClassReport = VersionCCCommandClassReport = __decorate([

@@ -594,3 +599,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.CommandClassReport)

}
let VersionCCCommandClassGet = exports.VersionCCCommandClassGet = class VersionCCCommandClassGet extends VersionCC {
let VersionCCCommandClassGet = class VersionCCCommandClassGet extends VersionCC {
constructor(host, options) {

@@ -618,2 +623,3 @@ super(host, options);

};
exports.VersionCCCommandClassGet = VersionCCCommandClassGet;
exports.VersionCCCommandClassGet = VersionCCCommandClassGet = __decorate([

@@ -623,3 +629,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.CommandClassGet),

], VersionCCCommandClassGet);
let VersionCCCapabilitiesReport = exports.VersionCCCapabilitiesReport = class VersionCCCapabilitiesReport extends VersionCC {
let VersionCCCapabilitiesReport = class VersionCCCapabilitiesReport extends VersionCC {
constructor(host, options) {

@@ -641,2 +647,3 @@ super(host, options);

};
exports.VersionCCCapabilitiesReport = VersionCCCapabilitiesReport;
__decorate([

@@ -648,4 +655,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.supportsZWaveSoftwareGet)

], VersionCCCapabilitiesReport);
let VersionCCCapabilitiesGet = exports.VersionCCCapabilitiesGet = class VersionCCCapabilitiesGet extends VersionCC {
let VersionCCCapabilitiesGet = class VersionCCCapabilitiesGet extends VersionCC {
};
exports.VersionCCCapabilitiesGet = VersionCCCapabilitiesGet;
exports.VersionCCCapabilitiesGet = VersionCCCapabilitiesGet = __decorate([

@@ -655,3 +663,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.CapabilitiesGet),

], VersionCCCapabilitiesGet);
let VersionCCZWaveSoftwareReport = exports.VersionCCZWaveSoftwareReport = class VersionCCZWaveSoftwareReport extends VersionCC {
let VersionCCZWaveSoftwareReport = class VersionCCZWaveSoftwareReport extends VersionCC {
constructor(host, options) {

@@ -661,3 +669,3 @@ super(host, options);

this.sdkVersion = parseVersion(this.payload);
this.applicationFrameworkAPIVersion = parseVersion(this.payload.slice(3));
this.applicationFrameworkAPIVersion = parseVersion(this.payload.subarray(3));
if (this.applicationFrameworkAPIVersion !== "unused") {

@@ -669,3 +677,3 @@ this.applicationFrameworkBuildNumber = this.payload.readUInt16BE(6);

}
this.hostInterfaceVersion = parseVersion(this.payload.slice(8));
this.hostInterfaceVersion = parseVersion(this.payload.subarray(8));
if (this.hostInterfaceVersion !== "unused") {

@@ -677,3 +685,3 @@ this.hostInterfaceBuildNumber = this.payload.readUInt16BE(11);

}
this.zWaveProtocolVersion = parseVersion(this.payload.slice(13));
this.zWaveProtocolVersion = parseVersion(this.payload.subarray(13));
if (this.zWaveProtocolVersion !== "unused") {

@@ -685,3 +693,3 @@ this.zWaveProtocolBuildNumber = this.payload.readUInt16BE(16);

}
this.applicationVersion = parseVersion(this.payload.slice(18));
this.applicationVersion = parseVersion(this.payload.subarray(18));
if (this.applicationVersion !== "unused") {

@@ -733,2 +741,3 @@ this.applicationBuildNumber = this.payload.readUInt16BE(21);

};
exports.VersionCCZWaveSoftwareReport = VersionCCZWaveSoftwareReport;
__decorate([

@@ -764,4 +773,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.VersionCCValues.sdkVersion)

], VersionCCZWaveSoftwareReport);
let VersionCCZWaveSoftwareGet = exports.VersionCCZWaveSoftwareGet = class VersionCCZWaveSoftwareGet extends VersionCC {
let VersionCCZWaveSoftwareGet = class VersionCCZWaveSoftwareGet extends VersionCC {
};
exports.VersionCCZWaveSoftwareGet = VersionCCZWaveSoftwareGet;
exports.VersionCCZWaveSoftwareGet = VersionCCZWaveSoftwareGet = __decorate([

@@ -768,0 +778,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.VersionCommand.ZWaveSoftwareGet),

@@ -51,3 +51,3 @@ "use strict";

});
let WakeUpCCAPI = exports.WakeUpCCAPI = class WakeUpCCAPI extends API_1.CCAPI {
let WakeUpCCAPI = class WakeUpCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -151,6 +151,7 @@ switch (cmd) {

};
exports.WakeUpCCAPI = WakeUpCCAPI;
exports.WakeUpCCAPI = WakeUpCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Wake Up"])
], WakeUpCCAPI);
let WakeUpCC = exports.WakeUpCC = class WakeUpCC extends CommandClass_1.CommandClass {
let WakeUpCC = class WakeUpCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -248,2 +249,3 @@ const node = this.getNode(applHost);

};
exports.WakeUpCC = WakeUpCC;
exports.WakeUpCC = WakeUpCC = __decorate([

@@ -254,3 +256,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Wake Up"]),

], WakeUpCC);
let WakeUpCCIntervalSet = exports.WakeUpCCIntervalSet = class WakeUpCCIntervalSet extends WakeUpCC {
let WakeUpCCIntervalSet = class WakeUpCCIntervalSet extends WakeUpCC {
constructor(host, options) {

@@ -290,2 +292,3 @@ super(host, options);

};
exports.WakeUpCCIntervalSet = WakeUpCCIntervalSet;
exports.WakeUpCCIntervalSet = WakeUpCCIntervalSet = __decorate([

@@ -295,3 +298,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.WakeUpCommand.IntervalSet),

], WakeUpCCIntervalSet);
let WakeUpCCIntervalReport = exports.WakeUpCCIntervalReport = class WakeUpCCIntervalReport extends WakeUpCC {
let WakeUpCCIntervalReport = class WakeUpCCIntervalReport extends WakeUpCC {
constructor(host, options) {

@@ -315,2 +318,3 @@ super(host, options);

};
exports.WakeUpCCIntervalReport = WakeUpCCIntervalReport;
__decorate([

@@ -325,4 +329,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.WakeUpCCValues.wakeUpInterval)

], WakeUpCCIntervalReport);
let WakeUpCCIntervalGet = exports.WakeUpCCIntervalGet = class WakeUpCCIntervalGet extends WakeUpCC {
let WakeUpCCIntervalGet = class WakeUpCCIntervalGet extends WakeUpCC {
};
exports.WakeUpCCIntervalGet = WakeUpCCIntervalGet;
exports.WakeUpCCIntervalGet = WakeUpCCIntervalGet = __decorate([

@@ -332,13 +337,15 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.WakeUpCommand.IntervalGet),

], WakeUpCCIntervalGet);
let WakeUpCCWakeUpNotification = exports.WakeUpCCWakeUpNotification = class WakeUpCCWakeUpNotification extends WakeUpCC {
let WakeUpCCWakeUpNotification = class WakeUpCCWakeUpNotification extends WakeUpCC {
};
exports.WakeUpCCWakeUpNotification = WakeUpCCWakeUpNotification;
exports.WakeUpCCWakeUpNotification = WakeUpCCWakeUpNotification = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.WakeUpCommand.WakeUpNotification)
], WakeUpCCWakeUpNotification);
let WakeUpCCNoMoreInformation = exports.WakeUpCCNoMoreInformation = class WakeUpCCNoMoreInformation extends WakeUpCC {
let WakeUpCCNoMoreInformation = class WakeUpCCNoMoreInformation extends WakeUpCC {
};
exports.WakeUpCCNoMoreInformation = WakeUpCCNoMoreInformation;
exports.WakeUpCCNoMoreInformation = WakeUpCCNoMoreInformation = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.WakeUpCommand.NoMoreInformation)
], WakeUpCCNoMoreInformation);
let WakeUpCCIntervalCapabilitiesReport = exports.WakeUpCCIntervalCapabilitiesReport = class WakeUpCCIntervalCapabilitiesReport extends WakeUpCC {
let WakeUpCCIntervalCapabilitiesReport = class WakeUpCCIntervalCapabilitiesReport extends WakeUpCC {
constructor(host, options) {

@@ -396,2 +403,3 @@ super(host, options);

};
exports.WakeUpCCIntervalCapabilitiesReport = WakeUpCCIntervalCapabilitiesReport;
__decorate([

@@ -403,4 +411,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.WakeUpCCValues.wakeUpOnDemandSupported)

], WakeUpCCIntervalCapabilitiesReport);
let WakeUpCCIntervalCapabilitiesGet = exports.WakeUpCCIntervalCapabilitiesGet = class WakeUpCCIntervalCapabilitiesGet extends WakeUpCC {
let WakeUpCCIntervalCapabilitiesGet = class WakeUpCCIntervalCapabilitiesGet extends WakeUpCC {
};
exports.WakeUpCCIntervalCapabilitiesGet = WakeUpCCIntervalCapabilitiesGet;
exports.WakeUpCCIntervalCapabilitiesGet = WakeUpCCIntervalCapabilitiesGet = __decorate([

@@ -407,0 +416,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.WakeUpCommand.IntervalCapabilitiesGet),

@@ -214,3 +214,3 @@ "use strict";

});
let WindowCoveringCCAPI = exports.WindowCoveringCCAPI = class WindowCoveringCCAPI extends API_1.CCAPI {
let WindowCoveringCCAPI = class WindowCoveringCCAPI extends API_1.CCAPI {
supportsCommand(cmd) {

@@ -427,6 +427,7 @@ switch (cmd) {

};
exports.WindowCoveringCCAPI = WindowCoveringCCAPI;
exports.WindowCoveringCCAPI = WindowCoveringCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(core_1.CommandClasses["Window Covering"])
], WindowCoveringCCAPI);
let WindowCoveringCC = exports.WindowCoveringCC = class WindowCoveringCC extends CommandClass_1.CommandClass {
let WindowCoveringCC = class WindowCoveringCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -489,2 +490,3 @@ const node = this.getNode(applHost);

};
exports.WindowCoveringCC = WindowCoveringCC;
exports.WindowCoveringCC = WindowCoveringCC = __decorate([

@@ -495,3 +497,3 @@ (0, CommandClassDecorators_1.commandClass)(core_1.CommandClasses["Window Covering"]),

], WindowCoveringCC);
let WindowCoveringCCSupportedReport = exports.WindowCoveringCCSupportedReport = class WindowCoveringCCSupportedReport extends WindowCoveringCC {
let WindowCoveringCCSupportedReport = class WindowCoveringCCSupportedReport extends WindowCoveringCC {
constructor(host, options) {

@@ -503,3 +505,3 @@ super(host, options);

(0, core_1.validatePayload)(this.payload.length >= 1 + numBitmaskBytes);
const bitmask = this.payload.slice(1, 1 + numBitmaskBytes);
const bitmask = this.payload.subarray(1, 1 + numBitmaskBytes);
this.supportedParameters = (0, core_1.parseBitMask)(bitmask, _Types_1.WindowCoveringParameter["Outbound Left (no position)"]);

@@ -513,7 +515,7 @@ }

serialize() {
const bitmask = (0, core_1.encodeBitMask)(this.supportedParameters, undefined, _Types_1.WindowCoveringParameter["Outbound Left (no position)"]).slice(0, 15);
const bitmask = (0, core_1.encodeBitMask)(this.supportedParameters, undefined, _Types_1.WindowCoveringParameter["Outbound Left (no position)"]).subarray(0, 15);
const numBitmaskBytes = bitmask.length & 0b1111;
this.payload = Buffer.concat([
Buffer.from([numBitmaskBytes]),
bitmask.slice(0, numBitmaskBytes),
bitmask.subarray(0, numBitmaskBytes),
]);

@@ -533,2 +535,3 @@ return super.serialize();

};
exports.WindowCoveringCCSupportedReport = WindowCoveringCCSupportedReport;
__decorate([

@@ -540,4 +543,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.WindowCoveringCCValues.supportedParameters)

], WindowCoveringCCSupportedReport);
let WindowCoveringCCSupportedGet = exports.WindowCoveringCCSupportedGet = class WindowCoveringCCSupportedGet extends WindowCoveringCC {
let WindowCoveringCCSupportedGet = class WindowCoveringCCSupportedGet extends WindowCoveringCC {
};
exports.WindowCoveringCCSupportedGet = WindowCoveringCCSupportedGet;
exports.WindowCoveringCCSupportedGet = WindowCoveringCCSupportedGet = __decorate([

@@ -547,3 +551,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.WindowCoveringCommand.SupportedGet),

], WindowCoveringCCSupportedGet);
let WindowCoveringCCReport = exports.WindowCoveringCCReport = class WindowCoveringCCReport extends WindowCoveringCC {
let WindowCoveringCCReport = class WindowCoveringCCReport extends WindowCoveringCC {
constructor(host, options) {

@@ -574,2 +578,3 @@ super(host, options);

};
exports.WindowCoveringCCReport = WindowCoveringCCReport;
__decorate([

@@ -590,3 +595,3 @@ (0, CommandClassDecorators_1.ccValue)(exports.WindowCoveringCCValues.currentValue, (self) => [self.parameter])

}
let WindowCoveringCCGet = exports.WindowCoveringCCGet = class WindowCoveringCCGet extends WindowCoveringCC {
let WindowCoveringCCGet = class WindowCoveringCCGet extends WindowCoveringCC {
constructor(host, options) {

@@ -616,2 +621,3 @@ super(host, options);

};
exports.WindowCoveringCCGet = WindowCoveringCCGet;
exports.WindowCoveringCCGet = WindowCoveringCCGet = __decorate([

@@ -621,3 +627,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.WindowCoveringCommand.Get),

], WindowCoveringCCGet);
let WindowCoveringCCSet = exports.WindowCoveringCCSet = class WindowCoveringCCSet extends WindowCoveringCC {
let WindowCoveringCCSet = class WindowCoveringCCSet extends WindowCoveringCC {
constructor(host, options) {

@@ -663,2 +669,3 @@ super(host, options);

};
exports.WindowCoveringCCSet = WindowCoveringCCSet;
exports.WindowCoveringCCSet = WindowCoveringCCSet = __decorate([

@@ -668,3 +675,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.WindowCoveringCommand.Set),

], WindowCoveringCCSet);
let WindowCoveringCCStartLevelChange = exports.WindowCoveringCCStartLevelChange = class WindowCoveringCCStartLevelChange extends WindowCoveringCC {
let WindowCoveringCCStartLevelChange = class WindowCoveringCCStartLevelChange extends WindowCoveringCC {
constructor(host, options) {

@@ -707,2 +714,3 @@ super(host, options);

};
exports.WindowCoveringCCStartLevelChange = WindowCoveringCCStartLevelChange;
exports.WindowCoveringCCStartLevelChange = WindowCoveringCCStartLevelChange = __decorate([

@@ -712,3 +720,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.WindowCoveringCommand.StartLevelChange),

], WindowCoveringCCStartLevelChange);
let WindowCoveringCCStopLevelChange = exports.WindowCoveringCCStopLevelChange = class WindowCoveringCCStopLevelChange extends WindowCoveringCC {
let WindowCoveringCCStopLevelChange = class WindowCoveringCCStopLevelChange extends WindowCoveringCC {
constructor(host, options) {

@@ -738,2 +746,3 @@ super(host, options);

};
exports.WindowCoveringCCStopLevelChange = WindowCoveringCCStopLevelChange;
exports.WindowCoveringCCStopLevelChange = WindowCoveringCCStopLevelChange = __decorate([

@@ -740,0 +749,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.WindowCoveringCommand.StopLevelChange),

@@ -101,3 +101,3 @@ "use strict";

// @noSetValueAPI This CC is read-only
let ZWavePlusCCAPI = exports.ZWavePlusCCAPI = class ZWavePlusCCAPI extends API_1.PhysicalCCAPI {
let ZWavePlusCCAPI = class ZWavePlusCCAPI extends API_1.PhysicalCCAPI {
supportsCommand(cmd) {

@@ -140,6 +140,7 @@ switch (cmd) {

};
exports.ZWavePlusCCAPI = ZWavePlusCCAPI;
exports.ZWavePlusCCAPI = ZWavePlusCCAPI = __decorate([
(0, CommandClassDecorators_1.API)(safe_1.CommandClasses["Z-Wave Plus Info"])
], ZWavePlusCCAPI);
let ZWavePlusCC = exports.ZWavePlusCC = class ZWavePlusCC extends CommandClass_1.CommandClass {
let ZWavePlusCC = class ZWavePlusCC extends CommandClass_1.CommandClass {
async interview(applHost) {

@@ -179,2 +180,3 @@ const node = this.getNode(applHost);

};
exports.ZWavePlusCC = ZWavePlusCC;
exports.ZWavePlusCC = ZWavePlusCC = __decorate([

@@ -185,3 +187,3 @@ (0, CommandClassDecorators_1.commandClass)(safe_1.CommandClasses["Z-Wave Plus Info"]),

], ZWavePlusCC);
let ZWavePlusCCReport = exports.ZWavePlusCCReport = class ZWavePlusCCReport extends ZWavePlusCC {
let ZWavePlusCCReport = class ZWavePlusCCReport extends ZWavePlusCC {
constructor(host, options) {

@@ -238,2 +240,3 @@ super(host, options);

};
exports.ZWavePlusCCReport = ZWavePlusCCReport;
__decorate([

@@ -257,4 +260,5 @@ (0, CommandClassDecorators_1.ccValue)(exports.ZWavePlusCCValues.zwavePlusVersion)

], ZWavePlusCCReport);
let ZWavePlusCCGet = exports.ZWavePlusCCGet = class ZWavePlusCCGet extends ZWavePlusCC {
let ZWavePlusCCGet = class ZWavePlusCCGet extends ZWavePlusCC {
};
exports.ZWavePlusCCGet = ZWavePlusCCGet;
exports.ZWavePlusCCGet = ZWavePlusCCGet = __decorate([

@@ -261,0 +265,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWavePlusCommand.Get),

@@ -34,4 +34,5 @@ "use strict";

}
let ZWaveProtocolCC = exports.ZWaveProtocolCC = class ZWaveProtocolCC extends CommandClass_1.CommandClass {
let ZWaveProtocolCC = class ZWaveProtocolCC extends CommandClass_1.CommandClass {
};
exports.ZWaveProtocolCC = ZWaveProtocolCC;
exports.ZWaveProtocolCC = ZWaveProtocolCC = __decorate([

@@ -41,3 +42,3 @@ (0, CommandClassDecorators_1.commandClass)(core_1.CommandClasses["Z-Wave Protocol"]),

], ZWaveProtocolCC);
let ZWaveProtocolCCNodeInformationFrame = exports.ZWaveProtocolCCNodeInformationFrame = class ZWaveProtocolCCNodeInformationFrame extends ZWaveProtocolCC {
let ZWaveProtocolCCNodeInformationFrame = class ZWaveProtocolCCNodeInformationFrame extends ZWaveProtocolCC {
constructor(host, options) {

@@ -84,7 +85,9 @@ super(host, options);

};
exports.ZWaveProtocolCCNodeInformationFrame = ZWaveProtocolCCNodeInformationFrame;
exports.ZWaveProtocolCCNodeInformationFrame = ZWaveProtocolCCNodeInformationFrame = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.NodeInformationFrame)
], ZWaveProtocolCCNodeInformationFrame);
let ZWaveProtocolCCRequestNodeInformationFrame = exports.ZWaveProtocolCCRequestNodeInformationFrame = class ZWaveProtocolCCRequestNodeInformationFrame extends ZWaveProtocolCC {
let ZWaveProtocolCCRequestNodeInformationFrame = class ZWaveProtocolCCRequestNodeInformationFrame extends ZWaveProtocolCC {
};
exports.ZWaveProtocolCCRequestNodeInformationFrame = ZWaveProtocolCCRequestNodeInformationFrame;
exports.ZWaveProtocolCCRequestNodeInformationFrame = ZWaveProtocolCCRequestNodeInformationFrame = __decorate([

@@ -94,3 +97,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.RequestNodeInformationFrame),

], ZWaveProtocolCCRequestNodeInformationFrame);
let ZWaveProtocolCCAssignIDs = exports.ZWaveProtocolCCAssignIDs = class ZWaveProtocolCCAssignIDs extends ZWaveProtocolCC {
let ZWaveProtocolCCAssignIDs = class ZWaveProtocolCCAssignIDs extends ZWaveProtocolCC {
constructor(host, options) {

@@ -117,6 +120,7 @@ super(host, options);

};
exports.ZWaveProtocolCCAssignIDs = ZWaveProtocolCCAssignIDs;
exports.ZWaveProtocolCCAssignIDs = ZWaveProtocolCCAssignIDs = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.AssignIDs)
], ZWaveProtocolCCAssignIDs);
let ZWaveProtocolCCFindNodesInRange = exports.ZWaveProtocolCCFindNodesInRange = class ZWaveProtocolCCFindNodesInRange extends ZWaveProtocolCC {
let ZWaveProtocolCCFindNodesInRange = class ZWaveProtocolCCFindNodesInRange extends ZWaveProtocolCC {
constructor(host, options) {

@@ -129,4 +133,4 @@ super(host, options);

(0, core_1.validatePayload)(this.payload.length >= 1 + bitmaskLength);
this.candidateNodeIds = (0, core_1.parseBitMask)(this.payload.slice(1, 1 + bitmaskLength));
const rest = this.payload.slice(1 + bitmaskLength);
this.candidateNodeIds = (0, core_1.parseBitMask)(this.payload.subarray(1, 1 + bitmaskLength));
const rest = this.payload.subarray(1 + bitmaskLength);
if (speedPresent) {

@@ -175,6 +179,7 @@ (0, core_1.validatePayload)(rest.length >= 1);

};
exports.ZWaveProtocolCCFindNodesInRange = ZWaveProtocolCCFindNodesInRange;
exports.ZWaveProtocolCCFindNodesInRange = ZWaveProtocolCCFindNodesInRange = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.FindNodesInRange)
], ZWaveProtocolCCFindNodesInRange);
let ZWaveProtocolCCRangeInfo = exports.ZWaveProtocolCCRangeInfo = class ZWaveProtocolCCRangeInfo extends ZWaveProtocolCC {
let ZWaveProtocolCCRangeInfo = class ZWaveProtocolCCRangeInfo extends ZWaveProtocolCC {
constructor(host, options) {

@@ -186,3 +191,3 @@ super(host, options);

(0, core_1.validatePayload)(this.payload.length >= 1 + bitmaskLength);
this.neighborNodeIds = (0, core_1.parseBitMask)(this.payload.slice(1, 1 + bitmaskLength));
this.neighborNodeIds = (0, core_1.parseBitMask)(this.payload.subarray(1, 1 + bitmaskLength));
if (this.payload.length >= 2 + bitmaskLength) {

@@ -211,7 +216,9 @@ this.wakeUpTime = (0, _Types_1.parseWakeUpTime)(this.payload[1 + bitmaskLength]);

};
exports.ZWaveProtocolCCRangeInfo = ZWaveProtocolCCRangeInfo;
exports.ZWaveProtocolCCRangeInfo = ZWaveProtocolCCRangeInfo = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.RangeInfo)
], ZWaveProtocolCCRangeInfo);
let ZWaveProtocolCCGetNodesInRange = exports.ZWaveProtocolCCGetNodesInRange = class ZWaveProtocolCCGetNodesInRange extends ZWaveProtocolCC {
let ZWaveProtocolCCGetNodesInRange = class ZWaveProtocolCCGetNodesInRange extends ZWaveProtocolCC {
};
exports.ZWaveProtocolCCGetNodesInRange = ZWaveProtocolCCGetNodesInRange;
exports.ZWaveProtocolCCGetNodesInRange = ZWaveProtocolCCGetNodesInRange = __decorate([

@@ -221,3 +228,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.GetNodesInRange),

], ZWaveProtocolCCGetNodesInRange);
let ZWaveProtocolCCCommandComplete = exports.ZWaveProtocolCCCommandComplete = class ZWaveProtocolCCCommandComplete extends ZWaveProtocolCC {
let ZWaveProtocolCCCommandComplete = class ZWaveProtocolCCCommandComplete extends ZWaveProtocolCC {
constructor(host, options) {

@@ -239,6 +246,7 @@ super(host, options);

};
exports.ZWaveProtocolCCCommandComplete = ZWaveProtocolCCCommandComplete;
exports.ZWaveProtocolCCCommandComplete = ZWaveProtocolCCCommandComplete = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.CommandComplete)
], ZWaveProtocolCCCommandComplete);
let ZWaveProtocolCCTransferPresentation = exports.ZWaveProtocolCCTransferPresentation = class ZWaveProtocolCCTransferPresentation extends ZWaveProtocolCC {
let ZWaveProtocolCCTransferPresentation = class ZWaveProtocolCCTransferPresentation extends ZWaveProtocolCC {
constructor(host, options) {

@@ -274,6 +282,7 @@ super(host, options);

};
exports.ZWaveProtocolCCTransferPresentation = ZWaveProtocolCCTransferPresentation;
exports.ZWaveProtocolCCTransferPresentation = ZWaveProtocolCCTransferPresentation = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.TransferPresentation)
], ZWaveProtocolCCTransferPresentation);
let ZWaveProtocolCCTransferNodeInformation = exports.ZWaveProtocolCCTransferNodeInformation = class ZWaveProtocolCCTransferNodeInformation extends ZWaveProtocolCC {
let ZWaveProtocolCCTransferNodeInformation = class ZWaveProtocolCCTransferNodeInformation extends ZWaveProtocolCC {
constructor(host, options) {

@@ -286,3 +295,3 @@ super(host, options);

this.sourceNodeId = this.payload[1];
info = (0, core_1.parseNodeProtocolInfoAndDeviceClass)(this.payload.slice(2)).info;
info = (0, core_1.parseNodeProtocolInfoAndDeviceClass)(this.payload.subarray(2)).info;
}

@@ -329,6 +338,7 @@ else {

};
exports.ZWaveProtocolCCTransferNodeInformation = ZWaveProtocolCCTransferNodeInformation;
exports.ZWaveProtocolCCTransferNodeInformation = ZWaveProtocolCCTransferNodeInformation = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.TransferNodeInformation)
], ZWaveProtocolCCTransferNodeInformation);
let ZWaveProtocolCCTransferRangeInformation = exports.ZWaveProtocolCCTransferRangeInformation = class ZWaveProtocolCCTransferRangeInformation extends ZWaveProtocolCC {
let ZWaveProtocolCCTransferRangeInformation = class ZWaveProtocolCCTransferRangeInformation extends ZWaveProtocolCC {
constructor(host, options) {

@@ -342,3 +352,3 @@ super(host, options);

(0, core_1.validatePayload)(this.payload.length >= 3 + bitmaskLength);
this.neighborNodeIds = (0, core_1.parseBitMask)(this.payload.slice(3, 3 + bitmaskLength));
this.neighborNodeIds = (0, core_1.parseBitMask)(this.payload.subarray(3, 3 + bitmaskLength));
}

@@ -367,6 +377,7 @@ else {

};
exports.ZWaveProtocolCCTransferRangeInformation = ZWaveProtocolCCTransferRangeInformation;
exports.ZWaveProtocolCCTransferRangeInformation = ZWaveProtocolCCTransferRangeInformation = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.TransferRangeInformation)
], ZWaveProtocolCCTransferRangeInformation);
let ZWaveProtocolCCTransferEnd = exports.ZWaveProtocolCCTransferEnd = class ZWaveProtocolCCTransferEnd extends ZWaveProtocolCC {
let ZWaveProtocolCCTransferEnd = class ZWaveProtocolCCTransferEnd extends ZWaveProtocolCC {
constructor(host, options) {

@@ -388,6 +399,7 @@ super(host, options);

};
exports.ZWaveProtocolCCTransferEnd = ZWaveProtocolCCTransferEnd;
exports.ZWaveProtocolCCTransferEnd = ZWaveProtocolCCTransferEnd = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.TransferEnd)
], ZWaveProtocolCCTransferEnd);
let ZWaveProtocolCCAssignReturnRoute = exports.ZWaveProtocolCCAssignReturnRoute = class ZWaveProtocolCCAssignReturnRoute extends ZWaveProtocolCC {
let ZWaveProtocolCCAssignReturnRoute = class ZWaveProtocolCCAssignReturnRoute extends ZWaveProtocolCC {
constructor(host, options) {

@@ -400,3 +412,3 @@ super(host, options);

const numRepeaters = this.payload[1] & 0b1111;
this.repeaters = [...this.payload.slice(2, 2 + numRepeaters)];
this.repeaters = [...this.payload.subarray(2, 2 + numRepeaters)];
const speedAndWakeup = this.payload[2 + numRepeaters];

@@ -435,6 +447,7 @@ this.destinationSpeed = bitmask2DataRate((speedAndWakeup >>> 3) & 0b111);

};
exports.ZWaveProtocolCCAssignReturnRoute = ZWaveProtocolCCAssignReturnRoute;
exports.ZWaveProtocolCCAssignReturnRoute = ZWaveProtocolCCAssignReturnRoute = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.AssignReturnRoute)
], ZWaveProtocolCCAssignReturnRoute);
let ZWaveProtocolCCNewNodeRegistered = exports.ZWaveProtocolCCNewNodeRegistered = class ZWaveProtocolCCNewNodeRegistered extends ZWaveProtocolCC {
let ZWaveProtocolCCNewNodeRegistered = class ZWaveProtocolCCNewNodeRegistered extends ZWaveProtocolCC {
constructor(host, options) {

@@ -446,3 +459,3 @@ super(host, options);

this.newNodeId = this.payload[0];
nif = (0, core_1.parseNodeInformationFrame)(this.payload.slice(1));
nif = (0, core_1.parseNodeInformationFrame)(this.payload.subarray(1));
}

@@ -489,6 +502,7 @@ else {

};
exports.ZWaveProtocolCCNewNodeRegistered = ZWaveProtocolCCNewNodeRegistered;
exports.ZWaveProtocolCCNewNodeRegistered = ZWaveProtocolCCNewNodeRegistered = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.NewNodeRegistered)
], ZWaveProtocolCCNewNodeRegistered);
let ZWaveProtocolCCNewRangeRegistered = exports.ZWaveProtocolCCNewRangeRegistered = class ZWaveProtocolCCNewRangeRegistered extends ZWaveProtocolCC {
let ZWaveProtocolCCNewRangeRegistered = class ZWaveProtocolCCNewRangeRegistered extends ZWaveProtocolCC {
constructor(host, options) {

@@ -500,3 +514,5 @@ super(host, options);

const numNeighbors = this.payload[1];
this.neighborNodeIds = [...this.payload.slice(2, 2 + numNeighbors)];
this.neighborNodeIds = [
...this.payload.subarray(2, 2 + numNeighbors),
];
}

@@ -519,6 +535,7 @@ else {

};
exports.ZWaveProtocolCCNewRangeRegistered = ZWaveProtocolCCNewRangeRegistered;
exports.ZWaveProtocolCCNewRangeRegistered = ZWaveProtocolCCNewRangeRegistered = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.NewRangeRegistered)
], ZWaveProtocolCCNewRangeRegistered);
let ZWaveProtocolCCTransferNewPrimaryControllerComplete = exports.ZWaveProtocolCCTransferNewPrimaryControllerComplete = class ZWaveProtocolCCTransferNewPrimaryControllerComplete extends ZWaveProtocolCC {
let ZWaveProtocolCCTransferNewPrimaryControllerComplete = class ZWaveProtocolCCTransferNewPrimaryControllerComplete extends ZWaveProtocolCC {
constructor(host, options) {

@@ -540,11 +557,13 @@ super(host, options);

};
exports.ZWaveProtocolCCTransferNewPrimaryControllerComplete = ZWaveProtocolCCTransferNewPrimaryControllerComplete;
exports.ZWaveProtocolCCTransferNewPrimaryControllerComplete = ZWaveProtocolCCTransferNewPrimaryControllerComplete = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.TransferNewPrimaryControllerComplete)
], ZWaveProtocolCCTransferNewPrimaryControllerComplete);
let ZWaveProtocolCCAutomaticControllerUpdateStart = exports.ZWaveProtocolCCAutomaticControllerUpdateStart = class ZWaveProtocolCCAutomaticControllerUpdateStart extends ZWaveProtocolCC {
let ZWaveProtocolCCAutomaticControllerUpdateStart = class ZWaveProtocolCCAutomaticControllerUpdateStart extends ZWaveProtocolCC {
};
exports.ZWaveProtocolCCAutomaticControllerUpdateStart = ZWaveProtocolCCAutomaticControllerUpdateStart;
exports.ZWaveProtocolCCAutomaticControllerUpdateStart = ZWaveProtocolCCAutomaticControllerUpdateStart = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.AutomaticControllerUpdateStart)
], ZWaveProtocolCCAutomaticControllerUpdateStart);
let ZWaveProtocolCCSUCNodeID = exports.ZWaveProtocolCCSUCNodeID = class ZWaveProtocolCCSUCNodeID extends ZWaveProtocolCC {
let ZWaveProtocolCCSUCNodeID = class ZWaveProtocolCCSUCNodeID extends ZWaveProtocolCC {
constructor(host, options) {

@@ -570,6 +589,7 @@ super(host, options);

};
exports.ZWaveProtocolCCSUCNodeID = ZWaveProtocolCCSUCNodeID;
exports.ZWaveProtocolCCSUCNodeID = ZWaveProtocolCCSUCNodeID = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.SUCNodeID)
], ZWaveProtocolCCSUCNodeID);
let ZWaveProtocolCCSetSUC = exports.ZWaveProtocolCCSetSUC = class ZWaveProtocolCCSetSUC extends ZWaveProtocolCC {
let ZWaveProtocolCCSetSUC = class ZWaveProtocolCCSetSUC extends ZWaveProtocolCC {
constructor(host, options) {

@@ -593,6 +613,7 @@ super(host, options);

};
exports.ZWaveProtocolCCSetSUC = ZWaveProtocolCCSetSUC;
exports.ZWaveProtocolCCSetSUC = ZWaveProtocolCCSetSUC = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.SetSUC)
], ZWaveProtocolCCSetSUC);
let ZWaveProtocolCCSetSUCAck = exports.ZWaveProtocolCCSetSUCAck = class ZWaveProtocolCCSetSUCAck extends ZWaveProtocolCC {
let ZWaveProtocolCCSetSUCAck = class ZWaveProtocolCCSetSUCAck extends ZWaveProtocolCC {
constructor(host, options) {

@@ -621,11 +642,13 @@ super(host, options);

};
exports.ZWaveProtocolCCSetSUCAck = ZWaveProtocolCCSetSUCAck;
exports.ZWaveProtocolCCSetSUCAck = ZWaveProtocolCCSetSUCAck = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.SetSUCAck)
], ZWaveProtocolCCSetSUCAck);
let ZWaveProtocolCCAssignSUCReturnRoute = exports.ZWaveProtocolCCAssignSUCReturnRoute = class ZWaveProtocolCCAssignSUCReturnRoute extends ZWaveProtocolCCAssignReturnRoute {
let ZWaveProtocolCCAssignSUCReturnRoute = class ZWaveProtocolCCAssignSUCReturnRoute extends ZWaveProtocolCCAssignReturnRoute {
};
exports.ZWaveProtocolCCAssignSUCReturnRoute = ZWaveProtocolCCAssignSUCReturnRoute;
exports.ZWaveProtocolCCAssignSUCReturnRoute = ZWaveProtocolCCAssignSUCReturnRoute = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.AssignSUCReturnRoute)
], ZWaveProtocolCCAssignSUCReturnRoute);
let ZWaveProtocolCCStaticRouteRequest = exports.ZWaveProtocolCCStaticRouteRequest = class ZWaveProtocolCCStaticRouteRequest extends ZWaveProtocolCC {
let ZWaveProtocolCCStaticRouteRequest = class ZWaveProtocolCCStaticRouteRequest extends ZWaveProtocolCC {
constructor(host, options) {

@@ -635,3 +658,3 @@ super(host, options);

(0, core_1.validatePayload)(this.payload.length >= 5);
this.nodeIds = [...this.payload.slice(0, 5)].filter((id) => id > 0 && id <= core_1.MAX_NODES);
this.nodeIds = [...this.payload.subarray(0, 5)].filter((id) => id > 0 && id <= core_1.MAX_NODES);
}

@@ -654,6 +677,7 @@ else {

};
exports.ZWaveProtocolCCStaticRouteRequest = ZWaveProtocolCCStaticRouteRequest;
exports.ZWaveProtocolCCStaticRouteRequest = ZWaveProtocolCCStaticRouteRequest = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.StaticRouteRequest)
], ZWaveProtocolCCStaticRouteRequest);
let ZWaveProtocolCCLost = exports.ZWaveProtocolCCLost = class ZWaveProtocolCCLost extends ZWaveProtocolCC {
let ZWaveProtocolCCLost = class ZWaveProtocolCCLost extends ZWaveProtocolCC {
constructor(host, options) {

@@ -675,6 +699,7 @@ super(host, options);

};
exports.ZWaveProtocolCCLost = ZWaveProtocolCCLost;
exports.ZWaveProtocolCCLost = ZWaveProtocolCCLost = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.Lost)
], ZWaveProtocolCCLost);
let ZWaveProtocolCCAcceptLost = exports.ZWaveProtocolCCAcceptLost = class ZWaveProtocolCCAcceptLost extends ZWaveProtocolCC {
let ZWaveProtocolCCAcceptLost = class ZWaveProtocolCCAcceptLost extends ZWaveProtocolCC {
constructor(host, options) {

@@ -697,6 +722,7 @@ super(host, options);

};
exports.ZWaveProtocolCCAcceptLost = ZWaveProtocolCCAcceptLost;
exports.ZWaveProtocolCCAcceptLost = ZWaveProtocolCCAcceptLost = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.AcceptLost)
], ZWaveProtocolCCAcceptLost);
let ZWaveProtocolCCNOPPower = exports.ZWaveProtocolCCNOPPower = class ZWaveProtocolCCNOPPower extends ZWaveProtocolCC {
let ZWaveProtocolCCNOPPower = class ZWaveProtocolCCNOPPower extends ZWaveProtocolCC {
constructor(host, options) {

@@ -748,6 +774,7 @@ super(host, options);

};
exports.ZWaveProtocolCCNOPPower = ZWaveProtocolCCNOPPower;
exports.ZWaveProtocolCCNOPPower = ZWaveProtocolCCNOPPower = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.NOPPower)
], ZWaveProtocolCCNOPPower);
let ZWaveProtocolCCReservedIDs = exports.ZWaveProtocolCCReservedIDs = class ZWaveProtocolCCReservedIDs extends ZWaveProtocolCC {
let ZWaveProtocolCCReservedIDs = class ZWaveProtocolCCReservedIDs extends ZWaveProtocolCC {
constructor(host, options) {

@@ -759,3 +786,5 @@ super(host, options);

(0, core_1.validatePayload)(this.payload.length >= 1 + numNodeIDs);
this.reservedNodeIDs = [...this.payload.slice(1, 1 + numNodeIDs)];
this.reservedNodeIDs = [
...this.payload.subarray(1, 1 + numNodeIDs),
];
}

@@ -775,6 +804,7 @@ else {

};
exports.ZWaveProtocolCCReservedIDs = ZWaveProtocolCCReservedIDs;
exports.ZWaveProtocolCCReservedIDs = ZWaveProtocolCCReservedIDs = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.ReservedIDs)
], ZWaveProtocolCCReservedIDs);
let ZWaveProtocolCCReserveNodeIDs = exports.ZWaveProtocolCCReserveNodeIDs = class ZWaveProtocolCCReserveNodeIDs extends ZWaveProtocolCC {
let ZWaveProtocolCCReserveNodeIDs = class ZWaveProtocolCCReserveNodeIDs extends ZWaveProtocolCC {
constructor(host, options) {

@@ -796,2 +826,3 @@ super(host, options);

};
exports.ZWaveProtocolCCReserveNodeIDs = ZWaveProtocolCCReserveNodeIDs;
exports.ZWaveProtocolCCReserveNodeIDs = ZWaveProtocolCCReserveNodeIDs = __decorate([

@@ -801,3 +832,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.ReserveNodeIDs),

], ZWaveProtocolCCReserveNodeIDs);
let ZWaveProtocolCCNodesExistReply = exports.ZWaveProtocolCCNodesExistReply = class ZWaveProtocolCCNodesExistReply extends ZWaveProtocolCC {
let ZWaveProtocolCCNodesExistReply = class ZWaveProtocolCCNodesExistReply extends ZWaveProtocolCC {
constructor(host, options) {

@@ -825,2 +856,3 @@ super(host, options);

};
exports.ZWaveProtocolCCNodesExistReply = ZWaveProtocolCCNodesExistReply;
exports.ZWaveProtocolCCNodesExistReply = ZWaveProtocolCCNodesExistReply = __decorate([

@@ -832,3 +864,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.NodesExistReply)

}
let ZWaveProtocolCCNodesExist = exports.ZWaveProtocolCCNodesExist = class ZWaveProtocolCCNodesExist extends ZWaveProtocolCC {
let ZWaveProtocolCCNodesExist = class ZWaveProtocolCCNodesExist extends ZWaveProtocolCC {
constructor(host, options) {

@@ -841,3 +873,3 @@ super(host, options);

(0, core_1.validatePayload)(this.payload.length >= 2 + numNodeIDs);
this.nodeIDs = [...this.payload.slice(2, 2 + numNodeIDs)];
this.nodeIDs = [...this.payload.subarray(2, 2 + numNodeIDs)];
}

@@ -860,2 +892,3 @@ else {

};
exports.ZWaveProtocolCCNodesExist = ZWaveProtocolCCNodesExist;
exports.ZWaveProtocolCCNodesExist = ZWaveProtocolCCNodesExist = __decorate([

@@ -865,3 +898,3 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.NodesExist),

], ZWaveProtocolCCNodesExist);
let ZWaveProtocolCCSetNWIMode = exports.ZWaveProtocolCCSetNWIMode = class ZWaveProtocolCCSetNWIMode extends ZWaveProtocolCC {
let ZWaveProtocolCCSetNWIMode = class ZWaveProtocolCCSetNWIMode extends ZWaveProtocolCC {
constructor(host, options) {

@@ -889,11 +922,13 @@ super(host, options);

};
exports.ZWaveProtocolCCSetNWIMode = ZWaveProtocolCCSetNWIMode;
exports.ZWaveProtocolCCSetNWIMode = ZWaveProtocolCCSetNWIMode = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.SetNWIMode)
], ZWaveProtocolCCSetNWIMode);
let ZWaveProtocolCCExcludeRequest = exports.ZWaveProtocolCCExcludeRequest = class ZWaveProtocolCCExcludeRequest extends ZWaveProtocolCCNodeInformationFrame {
let ZWaveProtocolCCExcludeRequest = class ZWaveProtocolCCExcludeRequest extends ZWaveProtocolCCNodeInformationFrame {
};
exports.ZWaveProtocolCCExcludeRequest = ZWaveProtocolCCExcludeRequest;
exports.ZWaveProtocolCCExcludeRequest = ZWaveProtocolCCExcludeRequest = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.ExcludeRequest)
], ZWaveProtocolCCExcludeRequest);
let ZWaveProtocolCCAssignReturnRoutePriority = exports.ZWaveProtocolCCAssignReturnRoutePriority = class ZWaveProtocolCCAssignReturnRoutePriority extends ZWaveProtocolCC {
let ZWaveProtocolCCAssignReturnRoutePriority = class ZWaveProtocolCCAssignReturnRoutePriority extends ZWaveProtocolCC {
constructor(host, options) {

@@ -918,11 +953,13 @@ super(host, options);

};
exports.ZWaveProtocolCCAssignReturnRoutePriority = ZWaveProtocolCCAssignReturnRoutePriority;
exports.ZWaveProtocolCCAssignReturnRoutePriority = ZWaveProtocolCCAssignReturnRoutePriority = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.AssignReturnRoutePriority)
], ZWaveProtocolCCAssignReturnRoutePriority);
let ZWaveProtocolCCAssignSUCReturnRoutePriority = exports.ZWaveProtocolCCAssignSUCReturnRoutePriority = class ZWaveProtocolCCAssignSUCReturnRoutePriority extends ZWaveProtocolCCAssignReturnRoutePriority {
let ZWaveProtocolCCAssignSUCReturnRoutePriority = class ZWaveProtocolCCAssignSUCReturnRoutePriority extends ZWaveProtocolCCAssignReturnRoutePriority {
};
exports.ZWaveProtocolCCAssignSUCReturnRoutePriority = ZWaveProtocolCCAssignSUCReturnRoutePriority;
exports.ZWaveProtocolCCAssignSUCReturnRoutePriority = ZWaveProtocolCCAssignSUCReturnRoutePriority = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.AssignSUCReturnRoutePriority)
], ZWaveProtocolCCAssignSUCReturnRoutePriority);
let ZWaveProtocolCCSmartStartIncludedNodeInformation = exports.ZWaveProtocolCCSmartStartIncludedNodeInformation = class ZWaveProtocolCCSmartStartIncludedNodeInformation extends ZWaveProtocolCC {
let ZWaveProtocolCCSmartStartIncludedNodeInformation = class ZWaveProtocolCCSmartStartIncludedNodeInformation extends ZWaveProtocolCC {
constructor(host, options) {

@@ -932,3 +969,3 @@ super(host, options);

(0, core_1.validatePayload)(this.payload.length >= 4);
this.nwiHomeId = this.payload.slice(0, 4);
this.nwiHomeId = this.payload.subarray(0, 4);
}

@@ -948,12 +985,15 @@ else {

};
exports.ZWaveProtocolCCSmartStartIncludedNodeInformation = ZWaveProtocolCCSmartStartIncludedNodeInformation;
exports.ZWaveProtocolCCSmartStartIncludedNodeInformation = ZWaveProtocolCCSmartStartIncludedNodeInformation = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.SmartStartIncludedNodeInformation)
], ZWaveProtocolCCSmartStartIncludedNodeInformation);
let ZWaveProtocolCCSmartStartPrime = exports.ZWaveProtocolCCSmartStartPrime = class ZWaveProtocolCCSmartStartPrime extends ZWaveProtocolCCNodeInformationFrame {
let ZWaveProtocolCCSmartStartPrime = class ZWaveProtocolCCSmartStartPrime extends ZWaveProtocolCCNodeInformationFrame {
};
exports.ZWaveProtocolCCSmartStartPrime = ZWaveProtocolCCSmartStartPrime;
exports.ZWaveProtocolCCSmartStartPrime = ZWaveProtocolCCSmartStartPrime = __decorate([
(0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.SmartStartPrime)
], ZWaveProtocolCCSmartStartPrime);
let ZWaveProtocolCCSmartStartInclusionRequest = exports.ZWaveProtocolCCSmartStartInclusionRequest = class ZWaveProtocolCCSmartStartInclusionRequest extends ZWaveProtocolCCNodeInformationFrame {
let ZWaveProtocolCCSmartStartInclusionRequest = class ZWaveProtocolCCSmartStartInclusionRequest extends ZWaveProtocolCCNodeInformationFrame {
};
exports.ZWaveProtocolCCSmartStartInclusionRequest = ZWaveProtocolCCSmartStartInclusionRequest;
exports.ZWaveProtocolCCSmartStartInclusionRequest = ZWaveProtocolCCSmartStartInclusionRequest = __decorate([

@@ -960,0 +1000,0 @@ (0, CommandClassDecorators_1.CCCommand)(_Types_1.ZWaveProtocolCommand.SmartStartInclusionRequest)

@@ -168,3 +168,3 @@ "use strict";

const ccCommand = data[ccIdLength];
const payload = data.slice(ccIdLength + 1);
const payload = data.subarray(ccIdLength + 1);
return {

@@ -171,0 +171,0 @@ ccId,

@@ -79,3 +79,3 @@ "use strict";

this.type = controlByte & 63;
this.payload = options.data.slice(2, totalLength);
this.payload = options.data.subarray(2, totalLength);
}

@@ -139,3 +139,3 @@ else {

exports.Security2Extension = Security2Extension;
let SPANExtension = exports.SPANExtension = class SPANExtension extends Security2Extension {
let SPANExtension = class SPANExtension extends Security2Extension {
constructor(options) {

@@ -166,6 +166,7 @@ if (gotDeserializationOptions(options)) {

};
exports.SPANExtension = SPANExtension;
exports.SPANExtension = SPANExtension = __decorate([
extensionType(S2ExtensionType.SPAN)
], SPANExtension);
let MPANExtension = exports.MPANExtension = class MPANExtension extends Security2Extension {
let MPANExtension = class MPANExtension extends Security2Extension {
constructor(options) {

@@ -176,3 +177,3 @@ if (gotDeserializationOptions(options)) {

this.groupId = this.payload[0];
this.innerMPANState = this.payload.slice(1);
this.innerMPANState = this.payload.subarray(1);
}

@@ -211,6 +212,7 @@ else {

};
exports.MPANExtension = MPANExtension;
exports.MPANExtension = MPANExtension = __decorate([
extensionType(S2ExtensionType.MPAN)
], MPANExtension);
let MGRPExtension = exports.MGRPExtension = class MGRPExtension extends Security2Extension {
let MGRPExtension = class MGRPExtension extends Security2Extension {
constructor(options) {

@@ -238,6 +240,7 @@ if (gotDeserializationOptions(options)) {

};
exports.MGRPExtension = MGRPExtension;
exports.MGRPExtension = MGRPExtension = __decorate([
extensionType(S2ExtensionType.MGRP)
], MGRPExtension);
let MOSExtension = exports.MOSExtension = class MOSExtension extends Security2Extension {
let MOSExtension = class MOSExtension extends Security2Extension {
constructor(options) {

@@ -252,2 +255,3 @@ if (options && gotDeserializationOptions(options)) {

};
exports.MOSExtension = MOSExtension;
exports.MOSExtension = MOSExtension = __decorate([

@@ -254,0 +258,0 @@ extensionType(S2ExtensionType.MOS)

{
"name": "@zwave-js/cc",
"version": "12.0.0-beta.0",
"version": "12.0.0-beta.1",
"description": "zwave-js: Command Classes",

@@ -66,6 +66,6 @@ "keywords": [],

"dependencies": {
"@zwave-js/core": "12.0.0-beta.0",
"@zwave-js/host": "12.0.0-beta.0",
"@zwave-js/serial": "12.0.0-beta.0",
"@zwave-js/shared": "12.0.0-beta.0",
"@zwave-js/core": "12.0.0-beta.1",
"@zwave-js/host": "12.0.0-beta.1",
"@zwave-js/serial": "12.0.0-beta.1",
"@zwave-js/shared": "12.0.0-beta.1",
"alcalzone-shared": "^4.0.8",

@@ -76,13 +76,13 @@ "ansi-colors": "^4.1.3",

"devDependencies": {
"@microsoft/api-extractor": "^7.36.0",
"@types/fs-extra": "^9.0.13",
"@types/node": "^14.18.52",
"@zwave-js/maintenance": "12.0.0-beta.0",
"@zwave-js/testing": "12.0.0-beta.0",
"@zwave-js/transformers": "12.0.0-beta.0",
"ava": "^4.3.3",
"del-cli": "^5.0.0",
"fs-extra": "^10.1.0",
"typescript": "5.1.6"
"@microsoft/api-extractor": "^7.36.4",
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.17.14",
"@zwave-js/maintenance": "12.0.0-beta.1",
"@zwave-js/testing": "12.0.0-beta.1",
"@zwave-js/transformers": "12.0.0-beta.1",
"ava": "^5.3.1",
"del-cli": "^5.1.0",
"fs-extra": "^11.1.1",
"typescript": "5.2.2"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc