home-assistant-automation

Generate Home Assistant YAML automations, scripts, and blueprints from natural language requests.

100|3|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/tonylofgren/aurora-smart-home --skill home-assistant-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: home-assistant-automation
Source: https://github.com/tonylofgren/aurora-smart-home/tree/main/home-assistant
Command: npx skills add https://github.com/tonylofgren/aurora-smart-home --skill home-assistant-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines creating Home Assistant YAML automations, blueprints, and scripts by guiding users through intent clarification and safe code generation, reducing errors and back-and-forth.

Core Features & Use Cases

  • Clarification-first: Always asks for Automation vs Blueprint and UI vs YAML formats before generating any configuration.
  • HA YAML Automation Generation: Produces automations.yaml, scripts.yaml, and blueprint templates from natural language requests.
  • Safety & Compatibility: Enforces HA version considerations and avoids deprecated syntax, including output guidance and best practices.
  • Templates & Documentation: Integrates with references/docs to provide ready-made templates and best practices for complex automation design.
  • Use Case Examples: Creating a motion-light automation, presence detection workflows, climate control sequences, and dashboard automation patterns.

Quick Start

  1. Start a conversation about Home Assistant YAML automations.
  2. Confirm you want YAML-based automations (HA automations) or a blueprint.
  3. Provide the target entities and required behaviors, and I will ask clarifying questions before generating any YAML.

Frequently Asked Questions about home-assistant-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Home Assistant YAML automation from a text prompt?

Creating a Home Assistant blueprint from a natural language prompt involves specifying your target entities and required behaviors. You will be asked to confirm whether you want a blueprint or standard automation before the template is generated.

Can I use natural language to create Home Assistant scripts.yaml?

Home Assistant YAML automation generation enforces safety by checking for deprecated syntax and clarifying your intent before coding. This minimizes misconfigurations and ensures the output follows current best practices for automations and templates.

What is the best way to structure complex Home Assistant automation workflows?

The best way to structure complex Home Assistant automation workflows is to break them down into clear behaviors and entities. Providing these details allows the system to supply ready-made templates and documentation for robust design.

Does this approach work for both UI automations and YAML automations in Home Assistant?

Yes, this approach works for both UI and YAML automations in Home Assistant. Before generating any configuration, the system explicitly asks whether you want a UI-based or YAML-based format to ensure the output matches your setup.

Why clarify intent before generating Home Assistant YAML configurations?

Clarifying intent before generating Home Assistant YAML configurations prevents errors and reduces back-and-forth. Confirming whether you need an automation, script, or blueprint ensures the final YAML output is accurate and safe.