home-assistant

Guide YAML configuration, automations, and HomeKit Bridge for Home Assistant.

2|Updated May 15, 2015
One-click install
npx skills add https://github.com/stephendolan/dotfiles --skill home-assistant-stephendolan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: home-assistant
Source: https://github.com/stephendolan/dotfiles/tree/main/claude/skills/home-assistant
Command: npx skills add https://github.com/stephendolan/dotfiles --skill home-assistant-stephendolan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill guides users through editing YAML configurations, automations, and HomeKit Bridge exposure for Home Assistant.

Core Features & Use Cases

  • Configuration Architecture: Understand the folder structure and include patterns.
  • Automation YAML: Write and interpret both UI automations and manual automations.
  • HomeKit Bridge: Expose entities to Apple Home with practical pairing and exposure strategies.

Quick Start

Create a sample YAML automation to turn on lights at sunset and expose a couple of entities to HomeKit Bridge.

Frequently Asked Questions about home-assistant

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

FAQPage Schema
How do I structure a Home Assistant YAML configuration with multiple files?

Home Assistant uses include patterns in configuration.yaml to split automations, scripts, and integrations across separate files. Package-based configurations organize related entities and automations together, reducing clutter and improving maintainability in larger deployments.

Can I write Home Assistant automations manually in YAML instead of using the UI?

Yes, you can write automations directly in automations.yaml using YAML syntax alongside UI-created automations. Manual YAML automations support advanced triggers, conditions, and Jinja2 templating for complex logic that the UI builder may not expose.

How do I expose Home Assistant entities and devices to Apple Home via HomeKit Bridge?

HomeKit Bridge integration exposes selected entities to Apple Home through configuration. You specify which devices and entity IDs to expose, then pair the bridge in Home app; the metadata describes practical pairing strategies and exposure patterns for common device types.

What's the best way to deploy Home Assistant with Docker and manage YAML configs?

Docker deployments mount your configuration folder as a volume, preserving automations.yaml, configuration.yaml, and custom components across container restarts. This approach enables version control and simplifies backing up and migrating your full setup.

How does entity registry work in Home Assistant YAML configurations?

The entity registry stores metadata about discovered and created entities, including friendly names and custom IDs. YAML configurations reference entities by their registry IDs in automations and integrations; understanding the registry prevents naming conflicts and entity duplication.

Can I use Jinja2 templating in Home Assistant automations and conditions?

Jinja2 templating in YAML automations enables dynamic values, state comparisons, and conditionals. You can access entity states, trigger data, and time functions within template expressions to build flexible logic without hardcoding values.