homebridge-blaq
Version:
Control and view your garage door(s) remotely with real-time updates using Konnected's BlaQ hardware
19 lines (18 loc) • 873 B
TypeScript
import { CharacteristicValue } from 'homebridge';
import { LogMessageEvent, StateUpdateMessageEvent } from '../utils/eventsource.js';
import { BaseBlaQAccessory, BaseBlaQAccessoryConstructorParams } from './base.js';
export declare const label = "Motion Sensor";
/**
* 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 BlaQGarageMotionSensorAccessory extends BaseBlaQAccessory {
private motionSensorService;
private motionDetected?;
constructor(args: BaseBlaQAccessoryConstructorParams);
getMotionDetected(): CharacteristicValue;
setMotionDetected(motionDetected: boolean): void;
handleStateEvent(stateEvent: StateUpdateMessageEvent): void;
handleLogEvent(logEvent: LogMessageEvent): void;
}