@constructorfleet/ultimate-govee
Version:
Library for interacting with Govee devices written in Typescript.
18 lines • 855 B
TypeScript
import { Optional } from '../../../common';
import { DeviceModel } from '../devices.model';
import { DeviceOpState } from './device.state';
import { MeasurementData, StateCommandAndStatus } from './states.types';
import { Measurement } from '../../../data';
export declare const ColorTempStateName: 'colorTemperature';
export type ColorTempStateName = typeof ColorTempStateName;
export type ColorTempData = {
state?: {
colorTemperature?: Measurement;
};
};
export declare class ColorTempState extends DeviceOpState<ColorTempStateName, MeasurementData> {
constructor(device: DeviceModel, opType?: Optional<number>, ...identifier: number[]);
parseState(data: ColorTempData): void;
protected readonly stateToCommand: (nextState: MeasurementData) => Optional<StateCommandAndStatus>;
}
//# sourceMappingURL=color-temp.state.d.ts.map