UNPKG

@smj0x/homebridge-shortcuts-buttons

Version:

Run any Apple Shortcut with just the tap of a button, and execute a custom unix command (or another shortcut!) after completion to handle its success/failure, using x-callback-url.

21 lines 802 B
import { PlatformAccessory, UnknownContext } from 'homebridge'; import { HSBConfig } from './config.js'; import { HSBPlatform } from './platform.js'; export interface HSBAccessoryContext extends UnknownContext { device?: HSBDevice; } export type HSBPlatformAccessory = PlatformAccessory<HSBAccessoryContext>; export declare class HSBAccessory { private readonly platform; private readonly platformAccessory; constructor(platform: HSBPlatform, platformAccessory: HSBPlatformAccessory); private addAccessoryInformationService; private addShortcutsServices; } export declare class HSBDevice { private readonly config; constructor(config: HSBConfig); readonly serialNumber = "634EA867A81D59F1898"; get displayName(): string; } //# sourceMappingURL=accessory.d.ts.map