Templates · Smart Home

Set the house up when you get home

Unlock the door, turn on the lights, and set the temperature when you arrive.

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

  • Unlock Door
  • Turn On Lights
  • Set Temperature

SKILL.md

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

---
name: arrive-home
description: Set the house up when the user gets home. Unlock the door, turn on the lights, and set the temperature to the usual comfort level. Use when the user says they are home or asks to get the house ready for their return. Not for leaving the house, and not a bedtime routine.
---

# Set the house up on arrival

Use the Unlock Door tool to open the front door. Then use the Turn On Lights tool for the rooms the user usually uses first, and the Set Temperature tool to bring the house to the usual comfort level.

If the user names a room, only set up that room. If they say they are only stopping by, unlock the door and skip the lights and temperature.

## Don't

- Don't lock the door or turn things off when the user is arriving.
- Don't change the temperature to a value the user did not ask for.
Open in validator

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

View on GitHub · Improve this skill