UNPKG

homebridge-pushover-notification

Version:

Homebridge plugin to send push notifications through Pushover from HomeKit

25 lines (24 loc) 836 B
import type { PlatformAccessory } from 'homebridge'; import type { PushoverNotificationPlatform } from './platform.js'; import type { PushoverClient } from './pushover-client.js'; import type { Message } from './types.js'; export declare class SwitchAccessory { private readonly platform; private readonly accessory; private readonly pushoverClient; private readonly message; private DefaultRetry; private DefaultExpire; private log; private service; private onCharacteristic; private isOn; private inCooldown; constructor(platform: PushoverNotificationPlatform, accessory: PlatformAccessory, pushoverClient: PushoverClient, message: Message); private setOn; private getOn; private sendMessage; private triggerCooldown; private resetSwitch; private mapPriority; }