UNPKG

lavva.exalushome.extalife

Version:

Library implementing communication and abstraction layers for ExtaLife API in ExalusHome system

12 lines (11 loc) 951 B
import { Status } from "lavva.exalushome/build/js/DataFrame"; import { IDevice } from "lavva.exalushome/build/js/Services/Devices/IDevice"; import { IDeviceConfigService } from "lavva.exalushome/build/js/Services/Devices/IDeviceConfigService"; import { ResponseResult } from "lavva.exalushome/build/js/Services/FieldChangeResult"; import { GetParamsErrorCode } from "../../../ExtaLife"; import { BrightnessThresholdStep, WindAndBrightnessThresholds, WindThresholdStep } from "./WszfBidiConfigParams"; export interface IWszfBidiConfigService extends IDeviceConfigService { GetBrightnessAndWindThresholdAsync(device: IDevice, channel: number): Promise<WindAndBrightnessThresholds | ResponseResult<GetParamsErrorCode>>; SetBrightnessThresholdAsync(device: IDevice, channel: number, threshold: BrightnessThresholdStep): Promise<Status>; SetWindThresholdAsync(device: IDevice, channel: number, threshold: WindThresholdStep): Promise<Status>; }