Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Oct 22, 2024
1 parent dbd9ac5 commit 83cd76d
Show file tree
Hide file tree
Showing 27 changed files with 172 additions and 97 deletions.
2 changes: 1 addition & 1 deletion packages/cc/src/cc/AlarmSensorCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ export class AlarmSensorCCGet extends AlarmSensorCC {
this.sensorType = options.sensorType ?? AlarmSensorType.Any;
}

public static from(raw: CCRaw, ctx: CCParsingContext): AlarmSensorCCGet {
public static from(_raw: CCRaw, _ctx: CCParsingContext): AlarmSensorCCGet {
// TODO: Deserialize payload
throw new ZWaveError(
`${this.constructor.name}: deserialization not implemented`,
Expand Down
12 changes: 6 additions & 6 deletions packages/cc/src/cc/BarrierOperatorCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,8 @@ export class BarrierOperatorCCSet extends BarrierOperatorCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): BarrierOperatorCCSet {
throw new ZWaveError(
`${this.constructor.name}: deserialization not implemented`,
Expand Down Expand Up @@ -740,8 +740,8 @@ export class BarrierOperatorCCEventSignalingSet extends BarrierOperatorCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): BarrierOperatorCCEventSignalingSet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -861,8 +861,8 @@ export class BarrierOperatorCCEventSignalingGet extends BarrierOperatorCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): BarrierOperatorCCEventSignalingGet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down
4 changes: 2 additions & 2 deletions packages/cc/src/cc/CentralSceneCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,8 @@ export class CentralSceneCCConfigurationSet extends CentralSceneCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): CentralSceneCCConfigurationSet {
throw new ZWaveError(
`${this.constructor.name}: deserialization not implemented`,
Expand Down
12 changes: 6 additions & 6 deletions packages/cc/src/cc/ClimateControlScheduleCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ export class ClimateControlScheduleCCSet extends ClimateControlScheduleCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): ClimateControlScheduleCCSet {
throw new ZWaveError(
`${this.constructor.name}: deserialization not implemented`,
Expand Down Expand Up @@ -378,8 +378,8 @@ export class ClimateControlScheduleCCGet extends ClimateControlScheduleCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): ClimateControlScheduleCCGet {
throw new ZWaveError(
`${this.constructor.name}: deserialization not implemented`,
Expand Down Expand Up @@ -535,8 +535,8 @@ export class ClimateControlScheduleCCOverrideSet
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): ClimateControlScheduleCCOverrideSet {
throw new ZWaveError(
`${this.constructor.name}: deserialization not implemented`,
Expand Down
2 changes: 1 addition & 1 deletion packages/cc/src/cc/ClockCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class ClockCCSet extends ClockCC {
this.minute = options.minute;
}

public static from(raw: CCRaw, ctx: CCParsingContext): ClockCCSet {
public static from(_raw: CCRaw, _ctx: CCParsingContext): ClockCCSet {
// TODO: Deserialize payload
throw new ZWaveError(
`${this.constructor.name}: deserialization not implemented`,
Expand Down
8 changes: 4 additions & 4 deletions packages/cc/src/cc/ConfigurationCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2030,8 +2030,8 @@ export class ConfigurationCCBulkSet extends ConfigurationCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): ConfigurationCCBulkSet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -2301,8 +2301,8 @@ export class ConfigurationCCBulkGet extends ConfigurationCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): ConfigurationCCBulkGet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down
8 changes: 4 additions & 4 deletions packages/cc/src/cc/DoorLockCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -842,8 +842,8 @@ export class DoorLockCCOperationSet extends DoorLockCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): DoorLockCCOperationSet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -1305,8 +1305,8 @@ export class DoorLockCCConfigurationSet extends DoorLockCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): DoorLockCCConfigurationSet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down
4 changes: 2 additions & 2 deletions packages/cc/src/cc/DoorLockLoggingCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,8 @@ export class DoorLockLoggingCCRecordGet extends DoorLockLoggingCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): DoorLockLoggingCCRecordGet {
throw new ZWaveError(
`${this.constructor.name}: deserialization not implemented`,
Expand Down
4 changes: 2 additions & 2 deletions packages/cc/src/cc/EntryControlCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -769,8 +769,8 @@ export class EntryControlCCConfigurationSet extends EntryControlCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): EntryControlCCConfigurationSet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down
16 changes: 8 additions & 8 deletions packages/cc/src/cc/FirmwareUpdateMetaDataCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,8 @@ export class FirmwareUpdateMetaDataCCRequestGet
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): FirmwareUpdateMetaDataCCRequestGet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -756,8 +756,8 @@ export class FirmwareUpdateMetaDataCCReport extends FirmwareUpdateMetaDataCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): FirmwareUpdateMetaDataCCReport {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -981,8 +981,8 @@ export class FirmwareUpdateMetaDataCCActivationSet
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): FirmwareUpdateMetaDataCCActivationSet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -1103,8 +1103,8 @@ export class FirmwareUpdateMetaDataCCPrepareGet
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): FirmwareUpdateMetaDataCCPrepareGet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down
4 changes: 2 additions & 2 deletions packages/cc/src/cc/HumidityControlModeCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ export class HumidityControlModeCCSet extends HumidityControlModeCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): HumidityControlModeCCSet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down
16 changes: 8 additions & 8 deletions packages/cc/src/cc/HumidityControlSetpointCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,8 @@ export class HumidityControlSetpointCCSet extends HumidityControlSetpointCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): HumidityControlSetpointCCSet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -700,8 +700,8 @@ export class HumidityControlSetpointCCGet extends HumidityControlSetpointCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): HumidityControlSetpointCCGet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -870,8 +870,8 @@ export class HumidityControlSetpointCCScaleSupportedGet
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): HumidityControlSetpointCCScaleSupportedGet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -1017,8 +1017,8 @@ export class HumidityControlSetpointCCCapabilitiesGet
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): HumidityControlSetpointCCCapabilitiesGet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down
36 changes: 18 additions & 18 deletions packages/cc/src/cc/IrrigationCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1645,8 +1645,8 @@ export class IrrigationCCSystemConfigSet extends IrrigationCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): IrrigationCCSystemConfigSet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -2031,8 +2031,8 @@ export class IrrigationCCValveInfoGet extends IrrigationCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): IrrigationCCValveInfoGet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -2095,8 +2095,8 @@ export class IrrigationCCValveConfigSet extends IrrigationCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): IrrigationCCValveConfigSet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -2354,8 +2354,8 @@ export class IrrigationCCValveConfigGet extends IrrigationCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): IrrigationCCValveConfigGet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -2406,8 +2406,8 @@ export class IrrigationCCValveRun extends IrrigationCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): IrrigationCCValveRun {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -2468,8 +2468,8 @@ export class IrrigationCCValveTableSet extends IrrigationCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): IrrigationCCValveTableSet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -2605,8 +2605,8 @@ export class IrrigationCCValveTableGet extends IrrigationCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): IrrigationCCValveTableGet {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -2658,8 +2658,8 @@ export class IrrigationCCValveTableRun extends IrrigationCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): IrrigationCCValveTableRun {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down Expand Up @@ -2711,8 +2711,8 @@ export class IrrigationCCSystemShutoff extends IrrigationCC {
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): IrrigationCCSystemShutoff {
// TODO: Deserialize payload
throw new ZWaveError(
Expand Down
2 changes: 1 addition & 1 deletion packages/cc/src/cc/LanguageCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export class LanguageCCSet extends LanguageCC {
this._country = options.country;
}

public static from(raw: CCRaw, ctx: CCParsingContext): LanguageCCSet {
public static from(_raw: CCRaw, _ctx: CCParsingContext): LanguageCCSet {
// TODO: Deserialize payload
throw new ZWaveError(
`${this.constructor.name}: deserialization not implemented`,
Expand Down
2 changes: 1 addition & 1 deletion packages/cc/src/cc/LockCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export class LockCCSet extends LockCC {
this.locked = options.locked;
}

public static from(raw: CCRaw, ctx: CCParsingContext): LockCCSet {
public static from(_raw: CCRaw, _ctx: CCParsingContext): LockCCSet {
// TODO: Deserialize payload
throw new ZWaveError(
`${this.constructor.name}: deserialization not implemented`,
Expand Down
4 changes: 2 additions & 2 deletions packages/cc/src/cc/ManufacturerSpecificCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@ export class ManufacturerSpecificCCDeviceSpecificGet
}

public static from(
raw: CCRaw,
ctx: CCParsingContext,
_raw: CCRaw,
_ctx: CCParsingContext,
): ManufacturerSpecificCCDeviceSpecificGet {
throw new ZWaveError(
`${this.constructor.name}: deserialization not implemented`,
Expand Down
Loading

0 comments on commit 83cd76d

Please sign in to comment.