zwave-js
Version:
Z-Wave driver written entirely in JavaScript/TypeScript
12 lines • 736 B
TypeScript
import { type BasicCC, type PersistValuesContext } from "@zwave-js/cc";
import { CommandClasses, type LogNode, type MaybeNotKnown } from "@zwave-js/core";
import type { DeviceClass } from "../DeviceClass.js";
import type { ZWaveNode } from "../Node.js";
/**
* Returns the CC that Basic Set/Report commands should be mapped to
* based on the endpoint's device class, or undefined if no mapping exists.
*/
export declare function getBasicMappingTarget(deviceClass: MaybeNotKnown<DeviceClass>): CommandClasses | undefined;
/** Handles the receipt of a BasicCC Set or Report */
export declare function handleBasicCommand(ctx: PersistValuesContext & LogNode, node: ZWaveNode, command: BasicCC): void;
//# sourceMappingURL=BasicCC.d.ts.map