Skip to main content
Project 4 min read

Home Assistant Assist Skill for OpenClaw

Control Home Assistant via OpenClaw with token-efficient Assist skill. Single API call, fuzzy matching, area-aware commands.

Originally published:

GitHub by DevelopmentCats

Home Assistant Assist Skill for OpenClaw

Purpose & Significance

Home Assistant Assist is an OpenClaw skill that bridges natural language control with Home Assistant's smart home ecosystem via the Assist (Conversation) API. Rather than forcing AI agents to manually resolve entity IDs and construct verbose service calls, this skill delegates intent parsing and device control to Home Assistant's built-in NLU engine. The result: token-efficient, faster, and more reliable smart home automation that leverages Home Assistant's intimate knowledge of your device topology and naming conventions.

Key Features

  • Token-Efficient Control: Passes natural language directly to Home Assistant instead of AI building service calls—dramatically reduces token consumption
  • Single API Call: One Assist API request replaces multiple entity lookups and service discovery calls
  • Fuzzy Entity Matching: Handles friendly names, aliases, and partial matches—"bedroom light" finds the right device even if named "bedroom lamp"
  • Area-Aware Commands: Understands room/area context for commands like "turn off the lights" affecting the correct zone
  • Intent Parsing: Home Assistant parses user intent (turn on/off, set value, query state) more reliably than generic prompts
  • Automation Support: Can enable/disable automations and trigger custom sentence-based automations
  • Easy Installation: Available via ClawHub or manual Git clone; minimal configuration required

Getting Started

Installation

Recommended (via ClawHub): Install directly from the OpenClaw package hub with a single command or by asking your agent to install the skill.

Manual Installation: Clone the repository into your OpenClaw workspace skills directory.

Configuration

Add your Home Assistant Long-Lived Access Token to the OpenClaw config file. To generate a token: open Home Assistant, navigate to your profile, scroll to Long-Lived Access Tokens, create a new token, and copy it immediately (it won't be shown again). Restart the OpenClaw gateway after configuration.

Basic Usage

Speak naturally to your OpenClaw agent: "Turn off the kitchen lights," "Set the thermostat to 72," "What's the temperature in the living room?" or "Is the front door locked?" The skill passes your request to Home Assistant's Assist API, which handles the rest.

Who It's For

  • Home Assistant Users: Anyone running Home Assistant who wants AI-powered voice or text control without rebuilding entity resolution logic
  • OpenClaw Developers: Skill creators building AI agents that need smart home integration with minimal token overhead
  • Token-Conscious Teams: Projects where API call volume and token usage directly impact costs
  • Smart Home Enthusiasts: Users with complex device networks who benefit from Home Assistant's fuzzy matching and area awareness

Technical Comparison

The skill's advantage is measurable. A traditional approach—entity lookup + manual service call construction—requires multiple API calls, high token consumption, and brittle parsing logic. The Assist API approach uses a single call, low token cost, and Home Assistant's proven NLU pipeline. For typical smart home commands, this reduces API calls by 60-80% and token usage proportionally.

Troubleshooting & Tips

  • Entity Name Mismatches: Assist uses friendly names, not entity IDs. Add aliases in Home Assistant (Settings → Devices → Entity → Edit → Aliases) if a device doesn't respond to expected names
  • Automation Limitations: Assist can enable/disable automations but not trigger them directly. Workaround: create an automation with a sentence trigger that calls the desired service
  • Multiple Devices with Same Name: Add unique aliases to disambiguate devices with identical friendly names
  • Pipeline Validation: If responses are unclear, verify the Assist pipeline is active in Home Assistant (Settings → Voice Assistants)

Resources & Links

  • ClawHub Package: clawhub.com/skills/homeassistant-assist
  • GitHub Repository: github.com/DevelopmentCats/homeassistant-assist
  • OpenClaw Documentation: github.com/openclaw/openclaw
  • Home Assistant Conversation API: developers.home-assistant.io/docs/intent_conversation_api
  • License: MIT (see repository for full terms)

Source: DevelopmentCats/homeassistant-assist GitHub repository, MIT License. Last updated February 2026.

Share:

Original Source

https://github.com/DevelopmentCats/homeassistant-assist

View Original

Last updated: