@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
30 lines (29 loc) • 837 B
TypeScript
import WFSerialization from '../interfaces/WF/WFSerialization';
import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction';
/**
* @action Run Home Scene
* @section Home > Home >
* @icon Home
*
* Runs a specific or user selected Home scene
*
* ```js
* // Run a specific scene at home
* runHomeScene({
* homeName: 'My House', // You can find your name in the Home app
* sceneName: 'Workday'
* });
* // Let the user select the scene for a spefiic home
* runHomeScene({
* homeName: 'My House',
* sceneName: askWhenRun
* });
* ```
*/
declare const runHomeScene: ({ homeName, sceneName, }: {
/** String of the home's name. */
homeName: string | WFSerialization;
/** String of the scene's name. */
sceneName: string | WFSerialization;
}) => WFWorkflowAction;
export default runHomeScene;