home-assistant

Control Home Assistant devices via REST API and webhooks.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/zhangyanbo2007/openclaw --skill home-assistant-zhangyanbo2007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: home-assistant
Source: https://github.com/zhangyanbo2007/openclaw/tree/main/workspace-fox-smarthome/skills/home-assistant
Command: npx skills add https://github.com/zhangyanbo2007/openclaw --skill home-assistant-zhangyanbo2007

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Managing a Home Assistant setup often involves manually issuing API calls, wiring automations, and handling webhook events across devices. This Skill provides a unified interface to control devices, run automations, and respond to inbound events programmatically.

Core Features & Use Cases

  • Outbound REST API controls: query states, toggle devices, trigger scripts, automations, scenes, and climate settings.
  • Inbound webhooks: receive events from automation triggers and act on them in real time.
  • CLI wrapper: use ha.sh to perform quick operations like listing entities, getting states, turning on/off, and triggering scenes or scripts.

Quick Start

Install and configure Home Assistant URL and a long-lived access token, then start using the ha.sh CLI to manage entities and automations.

Frequently Asked Questions about home-assistant

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

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

To control Home Assistant devices via REST API, use the ha.sh CLI wrapper to query entity states, toggle devices, trigger scripts, and activate scenes through outbound REST API calls.

Can I use webhooks to trigger automations in Home Assistant?

Yes, you can use inbound webhooks to receive events from automation triggers in Home Assistant and act on them in real time, enabling automated responses across smart devices.

Do I need a long-lived access token to manage Home Assistant entities?

Yes, you need a valid Home Assistant URL and a long-lived access token to execute state queries and service calls through the ha.sh CLI for managing entities and automations.

What's the best way to toggle smart home devices and trigger scenes from the command line?

Use the ha.sh CLI to perform quick operations like listing entities, getting states, turning devices on or off, and triggering scenes or scripts via the Home Assistant REST API.

How do I query and change climate settings in Home Assistant programmatically?

Query and change climate settings in Home Assistant by using the ha.sh CLI to make outbound REST API service calls, controlling climate entities alongside other smart home devices.

Does this Home Assistant REST API wrapper require any external dependencies?

Yes, the Home Assistant REST API wrapper requires jq and curl installed to execute state queries and service calls through the ha.sh CLI for smart home automation.