Home Assistant Integration knowledge

Guide Home Assistant integration development, testing, and quality scale progression.

17|8|Updated Jan 30, 2024
One-click install
npx skills add https://github.com/Teslemetry/hass-teslemetry --skill home-assistant-integration-knowledge-teslemetry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Home Assistant Integration knowledge
Source: https://github.com/Teslemetry/hass-teslemetry/tree/main/.claude/skills/integrations
Command: npx skills add https://github.com/Teslemetry/hass-teslemetry --skill home-assistant-integration-knowledge-teslemetry

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and best practices for developing, testing, and maintaining Home Assistant integrations, ensuring high-quality, robust, and user-friendly additions to the Home Assistant ecosystem.

Core Features & Use Cases

  • Integration Structure: Outlines the standard directory and file structure for Home Assistant integrations.
  • Quality Scale: Details the Bronze, Silver, Gold, and Platinum quality tiers and their associated rules.
  • Development Guidelines: Covers configuration flows, device discovery, entity development, and more.
  • Testing Requirements: Specifies testing strategies, coverage expectations, and best practices for config flow and entity testing.
  • Use Case: A developer new to Home Assistant integration development can use this Skill to understand the fundamental requirements, coding patterns, and testing procedures needed to create a new integration.

Quick Start

Use the Home Assistant Integration knowledge skill to understand the structure of a standard Home Assistant integration.

Frequently Asked Questions about Home Assistant Integration knowledge

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

FAQPage Schema
How do I structure a new Home Assistant integration?

A standard Home Assistant integration requires a specific directory and file structure. This includes a manifest file, an init file, and separate modules for config flows, device discovery, and entity development to ensure proper code organization.

What are the Home Assistant integration quality scale tiers?

The Home Assistant quality scale features Bronze, Silver, Gold, and Platinum tiers. Each tier has specific rules for testing, code organization, and device management that your integration must meet to achieve that certification level.

How do I implement a config flow for a Home Assistant integration?

Implementing a config flow requires following specific development guidelines and patterns for Home Assistant integrations. You must handle user input, device discovery, and initial setup using the standard config flow patterns provided by the platform.

What testing strategies are required for Home Assistant integration development?

Home Assistant integration testing requires comprehensive coverage for config flows and entity development. You must follow specific testing best practices, including strategies for validating device discovery and configuration handling to meet quality scale requirements.

How do I manage devices and entities in a Home Assistant integration?

Device and entity management in Home Assistant integrations involves following established development guidelines. You must implement proper entity development patterns and device discovery mechanisms to ensure seamless integration with the Home Assistant platform.