@constructorfleet/ultimate-govee
Version:
Library for interacting with Govee devices written in Typescript.
17 lines • 769 B
TypeScript
import { Optional } from '../../../../../common';
import { DeviceState } from '../../../states';
import { DeviceModel } from '../../../devices.model';
import { HumidifierActiveState } from './humidifier.modes';
export declare const MistLevelStateName: 'mistLevel';
export type MistLevelStateName = typeof MistLevelStateName;
export type MistLevel = {
mistLevel?: number;
};
export declare class MistLevelState extends DeviceState<MistLevelStateName, Optional<number>> {
readonly active: HumidifierActiveState;
private subscription;
constructor(device: DeviceModel, active: HumidifierActiveState);
protected readonly stateToCommand: () => undefined;
setState(nextState: Optional<number>): string[];
}
//# sourceMappingURL=humidifier.mist.d.ts.map