homebridge-velux-active
Version:
Homebridge plugin for controlling velux blinds and windows
28 lines • 1.1 kB
TypeScript
import { PlatformAccessory } from 'homebridge';
import { VeluxActivePlatform } from './platform';
import { VeluxDevice } from './VeluxDevice';
export declare class VeluxAccessory {
private readonly platform;
private readonly accessory;
private readonly device;
private service;
constructor(platform: VeluxActivePlatform, accessory: PlatformAccessory, device: VeluxDevice);
getUpdatedState(id: string, delayTime?: number): Promise<VeluxDevice>;
/**
* Handle requests to get the current value of the "Current Position" characteristic
*/
handleCurrentPositionGet(): Promise<number>;
/**
* Handle requests to get the current value of the "Position State" characteristic
*/
handlePositionStateGet(): Promise<1 | 0 | 2>;
/**
* Handle requests to get the current value of the "Target Position" characteristic
*/
handleTargetPositionGet(): Promise<number>;
/**
* Handle requests to set the "Target Position" characteristic
*/
handleTargetPositionSet(value: any): void;
}
//# sourceMappingURL=VeluxAccessory.d.ts.map