homebridge-yalehome
Version:
Homebridge plugin support for Yale Home.
30 lines • 1.09 kB
TypeScript
import { PlatformAccessory } from 'homebridge';
import { YaleSyncAlarm } from './platform';
/**
* Platform Accessory
* An instance of this class is created for each accessory your platform registers
* Each accessory may expose multiple services of different service types.
*/
export declare class YaleSyncAlarmPlatformAccessory {
private readonly platform;
private readonly accessory;
private service;
/**
* These are just used to create a working example
* You should implement your own code to track the state of your accessory
*/
private ArmStates;
private stateToPanelState;
private stateToDoorLockState;
private AccessoryTypes;
constructor(platform: YaleSyncAlarm, accessory: PlatformAccessory);
getPanelState(): any;
setPanelState(state: any): void;
getLockState(): 1 | 0;
setLockState(state: any): void;
getContactSensorState(): 1 | 0;
setContactSensorState(state: any): void;
getMotionSensorState(): boolean;
setMotionSensorState(state: any): void;
}
//# sourceMappingURL=platformAccessory.d.ts.map