Templates · Smart Home

Set the house to away

Lock up, lower the heating and turn off lights, but ask before arming the alarm.

Example template for a hypothetical smart home app. It is not taken from any shipping app. Rename the tools to match your own App Intents titles.

Tools this skill expects

  • Get Devices
  • Set Scene
  • Arm Alarm

SKILL.md

Skills.skillsbundle/Skills/home-away/SKILL.md

---
name: home-away
description: Put the home into away mode when the user leaves. Use when the user says they're leaving, going out, or asks to lock up or set the house to away. Not for controlling a single device.
---

# Set the house to away

Use the Set Scene tool with the Away scene. Then use the Get Devices tool to check that every door lock is locked and say if any isn't.

Ask before using the Arm Alarm tool.
Open in validator

Or install it into your bundle: npx siriskills add home-away --bundle MyApp/Skills.skillsbundle

View on GitHub · Improve this skill