UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

12 lines 704 B
import { Optional } from '../../../common'; import { DeviceModel } from '../devices.model'; import { DeviceOpState } from './device.state'; import { StateCommandAndStatus } from './states.types'; export declare const ControlLockStateName: 'controlLock'; export type ControlLockStateName = typeof ControlLockStateName; export declare class ControlLockState extends DeviceOpState<ControlLockStateName, Optional<boolean>> { constructor(device: DeviceModel, opType?: number, ...identifier: number[]); parseOpCommand(opCommand: number[]): void; protected readonly stateToCommand: (nextState: Optional<boolean>) => Optional<StateCommandAndStatus>; } //# sourceMappingURL=control-lock.state.d.ts.map