@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.
18 lines • 498 B
TypeScript
import { Logger } from 'homebridge';
export interface SSHConfig {
enabled: boolean;
host: string;
port: number;
username: string;
privateKeyPath: string;
passphrase?: string;
}
export declare class ShortcutsRunner {
private log;
private sshConfig?;
constructor(log: Logger, sshConfig?: SSHConfig);
runShortcut(shortcutName: string): Promise<void>;
private runShortcutLocally;
private runShortcutViaSSH;
}
//# sourceMappingURL=shortcutsRunner.d.ts.map