diff --git a/packages/zwave-js/src/lib/node/DeviceClass.ts b/packages/zwave-js/src/lib/node/DeviceClass.ts index 3dae25de39e6..e683f11937cb 100644 --- a/packages/zwave-js/src/lib/node/DeviceClass.ts +++ b/packages/zwave-js/src/lib/node/DeviceClass.ts @@ -4,6 +4,7 @@ import type { GenericDeviceClass, SpecificDeviceClass, } from "@zwave-js/config"; +import { type CommandClasses } from "@zwave-js/core"; import type { JSONObject } from "@zwave-js/shared"; export class DeviceClass { @@ -25,6 +26,16 @@ export class DeviceClass { public readonly generic: GenericDeviceClass; public readonly specific: SpecificDeviceClass; + /** @deprecated This property is no longer in use and contains no information. */ + public get mandatorySupportedCCs(): readonly CommandClasses[] { + return []; + } + + /** @deprecated This property is no longer in use and contains no information. */ + public get mandatoryControlledCCs(): readonly CommandClasses[] { + return []; + } + public toJSON(): JSONObject { return { basic: this.basic.label,