UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

15 lines 808 B
import { DeltaMap, Optional } from '../../../common'; import { BehaviorSubject } from 'rxjs'; import { Effect } from '../../../data'; import { DeviceModel } from '../devices.model'; import { DeviceOpState } from './device.state'; export declare const LightEffectStateName: 'lightEffect'; export type LightEffectStateName = typeof LightEffectStateName; export type LightEffect = Partial<Effect>; export declare class LightEffectState extends DeviceOpState<LightEffectStateName, LightEffect> { readonly effects: DeltaMap<number, LightEffect>; readonly activeEffectCode: BehaviorSubject<number | undefined>; constructor(device: DeviceModel, opType?: Optional<number>, identifier?: Optional<number[]>); parseOpCommand(opCommand: number[]): void; } //# sourceMappingURL=light-effect.state.d.ts.map