---
name: smart-home-automation-instruction-creator
description: "Turns a smart home automation idea into one spoken command a voice assistant will actually parse, with trigger, device, room and schedule included. Use when a homeowner wants one smart home routine phrased as a spoken command for a voice assistant. Do not use for planning many routines at once or a weekly device timetable. Related topics: home, gardening, Smart Home."
---

# Smart Home Automation Instruction Creator

Turns a smart home automation idea into one spoken command a voice assistant will actually parse, with trigger, device, room and schedule included.

## When to use

Use this skill when a homeowner wants one smart home routine phrased as a spoken command for a voice assistant. Do not use it for planning many routines at once or a weekly device timetable.

## Workflow

1. Ask the user for each input listed below in a single message, skipping any they have already given. Where options are listed, offer them, but accept other answers too.
2. Reduce the request to one device, one action, one trigger and one room.
3. Phrase the command in natural order, putting the schedule or condition after the action.
4. Check the command carries every extra setting the user gave, such as a temperature or brightness level.
5. Output a single plain line beginning with the wake phrase, and add a note only if the trigger cannot be spoken.

## Inputs

- **Target device** (choose one: Light, Thermostat, Smart Plug, Door Lock, Camera, Sprinkler System)
- **Desired action** (choose one: Turn on, Turn off, Set temperature, Open, Close, Start, Stop, Adjust brightness)
- **Trigger condition** (choose one: Time of day, Motion detected, Sunset, Sunrise, Voice command, Sensor reading)
- **Schedule** (free text, e.g. "Every weekday at 7 am")
- **Room or location** (free text, e.g. "Living room or Garden")
- **Extra settings** (free text, e.g. "72 degrees or 40 percent brightness")

## Output

One line of plain text beginning with "Hey Assistant," containing the full command, with no markdown or extra commentary.

## Prompt template

Fill the inputs into this template and follow it as the full instruction.

### Voice Assistant Automation Command

Write the spoken instruction for one smart home automation.

- Target device: {{Target device}}
- Desired action: {{Desired action}}
- Trigger condition: {{Trigger condition}}
- Schedule: {{Schedule}}
- Room or location: {{Room or location}}
- Extra settings: {{Extra settings}}

Use the plain phrasing voice assistants understand: one device, one action, one trigger, and the room named exactly once. Put the trigger and schedule in the sentence in natural order, for example action, device, room, then condition. If the combination cannot be spoken as one command, such as a sensor trigger on a platform that needs the app, say so in one short line and give the closest spoken form.

Return the full voice command as a single line of plain text beginning with "Hey Assistant," and no other formatting.

## Pitfalls

- Bundling two devices or two actions into one command, which assistants often mis-parse.
- Leaving out the room, so the command targets the wrong device in a multi-room home.
- Adding formatting or explanation around the line when the user wants something they can read aloud.
