home-assistant

Query and mutate Home Assistant instances via REST and WebSocket using a Python CLI.

12|Updated Jun 22, 2025
One-click install
npx skills add https://github.com/rcdailey/home-ops --skill home-assistant-rcdailey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: home-assistant
Source: https://github.com/rcdailey/home-ops/tree/main/.opencode/skills/home-assistant
Command: npx skills add https://github.com/rcdailey/home-ops --skill home-assistant-rcdailey

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It helps you quickly query and mutate a large Home Assistant instance without overwhelming results or losing context, while providing consistent workflows for inspecting entities, automations, templates, and service/event interactions.

Core Features & Use Cases

  • Focused HA inspection at scale: Retrieves projected, limited responses instead of dumping full collections (1000+ entities, 60+ service domains).
  • Topic discovery first: Uses an orient/search flow to find related entities, automations, scripts, and dashboard cards before deeper inspection.
  • Operational actions and debugging: Triggers automations or runs scripts, renders Jinja templates, inspects config/attributes/history/activity/repairs, and performs targeted raw API calls when needed.

Quick Start

Use the home-assistant skill to orient yourself on a topic like “media room” and then query the specific entity states and recent history you need.

Frequently Asked Questions about home-assistant

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

FAQPage Schema
How do I query Home Assistant entities without overwhelming results from a large instance?

Home Assistant entity querying requires result limiting and field projection on REST and WebSocket API responses. This approach prevents context overload when inspecting large collections of 1000+ entities and 60+ service domains.

Can I render Jinja templates and debug automations in Home Assistant via API?

You can render Jinja templates and debug automations via targeted WebSocket and REST service calls. The workflow supports triggering automations, running scripts, and validating template rendering for specific integrations.

What is the best way to inspect Home Assistant dashboard cards and entity history?

Inspecting Home Assistant dashboard cards and entity history is best achieved through an orient-first discovery flow. This method finds related entities, automations, and scripts before performing deeper inspection of their configuration and activity logs.

Does this Home Assistant querying approach work with a Kubernetes homelab setup?

This Home Assistant querying approach supports Kubernetes homelab setups. It connects via a Python CLI tool requiring a configured domain secret and a valid long-lived access token to authenticate API requests.

How do I trigger Home Assistant services and events safely without losing context?

Triggering Home Assistant services and events safely requires a CLI tool that enforces result limiting and projection on API responses. This enables safe trigger workflows for automations, scripts, and raw API calls while maintaining operational context.