UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

16 lines 752 B
import { Optional } from '../../../common'; import { DeviceModel } from '../devices.model'; import { DeviceOpState } from './device.state'; import { StateCommandAndStatus } from './states.types'; export declare const NightLightStateName: 'nightLight'; export type NightLightStateName = typeof NightLightStateName; export type NightLight = { on?: boolean; brightness?: number; }; export declare class NightLightState extends DeviceOpState<NightLightStateName, NightLight> { constructor(device: DeviceModel, opType?: number, ...identifier: number[]); parseOpCommand(opCommand: number[]): void; protected readonly stateToCommand: (state: NightLight) => Optional<StateCommandAndStatus>; } //# sourceMappingURL=night-light.state.d.ts.map