@chazepps/homebridge-hejhome
Version:
The Hejhome plugin allows you to access your Hejhome device(s) from HomeKit.
18 lines (17 loc) • 808 B
TypeScript
import { PlatformAccessory } from 'homebridge';
import { HejhomePlatform } from '../platform.js';
import { HejDevice } from '../requests/get_devices.js';
import { Base } from './base.js';
export declare const EVENT_BUTTON_PRESSED = "clickSmartButton";
export declare const SMART_BUTTON_ACTION_SINGLE_CLICK = "single_click";
export declare const SMART_BUTTON_ACTION_DOUBLE_CLICK = "double_click";
export type SmartButtonAction = typeof SMART_BUTTON_ACTION_SINGLE_CLICK | typeof SMART_BUTTON_ACTION_DOUBLE_CLICK;
export declare class SmartButton extends Base {
private platform;
private accessory;
private device;
private services;
constructor(platform: HejhomePlatform, accessory: PlatformAccessory, device: HejDevice);
private registerEventListeners;
private handleButtonPress;
}