UNPKG

lavva.exalushome.extalife

Version:

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

22 lines (21 loc) 1.92 kB
import { Status } from "lavva.exalushome/build/js/DataFrame"; import { IDevice } from "lavva.exalushome/build/js/Services/Devices/IDevice"; import { ResponseResult } from "lavva.exalushome/build/js/Services/FieldChangeResult"; import { OnOffSwitchService, SwitchConfigurationErrorCode } from "../Common/OnOffSwitchConfigurations/OnOffSwitchService"; import { IRdp21ConfigService } from "./IRdp21ConfigService"; import { InputOutputDimmerParameters, LightTransitionTime, MaxLightLevel, MinLightLevel } from "./Rdp21ConfigParameters"; export declare class Rdp21ConfigService extends OnOffSwitchService implements IRdp21ConfigService { static readonly ServiceName: string; constructor(); GetServiceName(): string; GetDimmerInputOutputParamAsync(device: IDevice, channel: number): Promise<ResponseResult<SwitchConfigurationErrorCode> | InputOutputDimmerParameters>; SetDimmerInputOutputParamAsync(device: IDevice, params: InputOutputDimmerParameters): Promise<Status>; GetBrighteningTimeAsync(device: IDevice, channel: number): Promise<ResponseResult<SwitchConfigurationErrorCode> | LightTransitionTime>; SetBrighteningTimeAsync(device: IDevice, channel: number, time: LightTransitionTime): Promise<Status>; GetDimmingTimeAsync(device: IDevice, channel: number): Promise<ResponseResult<SwitchConfigurationErrorCode> | LightTransitionTime>; SetDimmingTimeAsync(device: IDevice, channel: number, time: LightTransitionTime): Promise<Status>; GetMinLevelAsync(device: IDevice, channel: number): Promise<ResponseResult<SwitchConfigurationErrorCode> | MinLightLevel>; SetMinLevelAsync(device: IDevice, channel: number, level: MinLightLevel): Promise<Status>; GetMaxLevelAsync(device: IDevice, channel: number): Promise<ResponseResult<SwitchConfigurationErrorCode> | MaxLightLevel>; SetMaxLevelAsync(device: IDevice, channel: number, level: MaxLightLevel): Promise<Status>; }