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.
18 lines • 782 B
TypeScript
import { API, DynamicPlatformPlugin, Logger, PlatformConfig, Nullable } from 'homebridge';
import { HSBConfig } from './config.js';
import { HSBPlatformAccessory } from './accessory.js';
import { HSBXCallbackUrlServer } from './server/index.js';
import { HSBUtils } from './utils.js';
export declare class HSBPlatform implements DynamicPlatformPlugin {
readonly log: Logger;
readonly api: API;
readonly config: HSBConfig;
readonly utils: HSBUtils;
private readonly device;
accessory: Nullable<HSBPlatformAccessory>;
server: Nullable<HSBXCallbackUrlServer>;
constructor(log: Logger, _config: PlatformConfig, api: API);
configureAccessory(accessory: HSBPlatformAccessory): void;
discoverDevices(): void;
}
//# sourceMappingURL=platform.d.ts.map