home-assistant

Automate Home Assistant device control via REST API and webhooks.

1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/jieni777/opencode-config-backup --skill home-assistant-jieni777
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: home-assistant
Source: https://github.com/jieni777/opencode-config-backup/tree/main/skills/home-assistant
Command: npx skills add https://github.com/jieni777/opencode-config-backup --skill home-assistant-jieni777

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, curl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Centralize and automate control of Home Assistant devices using REST API and webhooks, reducing manual setup and repetitive actions across multiple entities.

Core Features & Use Cases

  • Unified REST API and webhook integration to manage lights, switches, climate, scenes, scripts, and automations.
  • Bidirectional communication enables triggering automations via webhooks and querying device states from a single CLI.
  • Real-world scenario: automatically turn on living room lights at sunset and log the event for audit.

Quick Start

Configure your Home Assistant URL and token, then use the ha.sh CLI to manage entities and trigger services.

Frequently Asked Questions about home-assistant

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

FAQPage Schema
How do I automate Home Assistant devices via REST API?

Automate Home Assistant devices via REST API by authenticating with long-lived tokens to call endpoints that manage lights, switches, climate, scenes, and scripts.

Can I trigger Home Assistant automations using webhooks?

Yes, you can trigger Home Assistant automations using webhooks for bidirectional communication, allowing external systems to execute automations and log events.

What do I need to control Home Assistant entities from a CLI?

To control Home Assistant entities from a CLI, you need the ha.sh wrapper along with jq and curl dependencies to query device states and trigger services.

How do I manage lights and climate across remote Home Assistant deployments?

Manage lights and climate across remote Home Assistant deployments by using a unified REST API integration to query states and execute service calls from a single CLI interface.

Does this Home Assistant automation approach support querying device states?

Yes, this Home Assistant automation approach supports querying device states through REST API endpoints, enabling real-time retrieval of entity statuses across local or remote deployments.