ha-integration-dev

Generate Home Assistant Python integration scaffolds with config flow templates.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill provides a structured, guideline-driven foundation for building Home Assistant Python integrations, helping developers avoid common missteps and accelerate safe, maintainable component creation.

Core Features & Use Cases

  • Config Flows & Validation: Design robust UI-based setup with error handling, reauth, and reconfigure options.
  • Coordinator, Entities & Platforms: Implement DataUpdateCoordinator-driven data fetch, multi-platform entity support, and efficient data sharing.
  • Reference & Templates: Access comprehensive templates, references, and example integrations to speed up development and ensure HA compatibility.

Quick Start

Use the ha-integration-dev skill to scaffold a minimal custom integration structure and a sample config flow template for a new Home Assistant integration.

Frequently Asked Questions about ha-integration-dev

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

FAQPage Schema
How do I build a Home Assistant integration with a config flow?

To build a Home Assistant integration with a config flow, use guided patterns and templates for UI-based setup, including error handling, reauth, and reconfigure options. This provides a structured foundation for robust component creation.

What is the best way to implement a DataUpdateCoordinator in a Home Assistant Python integration?

The best way to implement a DataUpdateCoordinator in a Home Assistant Python integration is using provided templates that enforce aiohttp-based async IO, enabling efficient data fetching and sharing across multi-platform entity support.

Do I need to know Python to create a custom Home Assistant integration?

Yes, you need familiarity with Python and Home Assistant core concepts to create a custom integration. The development process requires understanding async IO, security practices, and proper timestamp handling to ensure safe, maintainable components.

How do I prepare a Home Assistant custom integration for HACS?

You prepare a Home Assistant custom integration for HACS by following structured publishing workflows and best practices. This ensures your Python component meets compatibility, security, and JSON-serializable attribute requirements for both cloud and local integrations.

Why does my Home Assistant integration require proper timestamp handling and JSON-serializable attributes?

Your Home Assistant integration requires proper timestamp handling and JSON-serializable attributes to enforce security and maintain state consistency. These practices prevent data serialization errors during async data fetching and entity state updates.

Can I scaffold a minimal custom integration structure for Home Assistant?

Yes, you can scaffold a minimal custom integration structure for Home Assistant. The skill provides quick-start templates and reference integrations that generate the foundational files and a sample config flow to accelerate development.