LaunchKit · 2026
Back to Skills

homeassistant-skill

Control Home Assistant devices and automations via REST API. 25 entity domains including lights, climate, locks.

6
3.3k downloads
by @anotb

Setup & Installation

openclaw skills install @anotb/homeassistant-skill

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install homeassistant-skill

Version History

v2.1.0Feb 12, 2026 - Version note by skill developer:

- Added a homepage link to the skill metadata. - Updated metadata fields to include OpenClaw environment and binary requirements. - Bumped version to 2.1.0.

What This Skill Does

Controls Home Assistant devices and automations through the REST API. Covers 25 entity domains: lights, climate, locks, covers, fans, media players, vacuums, alarms, presence tracking, weather, calendars, notifications, and input helpers. Includes entity discovery, batch operations, history queries, and Jinja2 template evaluation.

Covers the full Home Assistant REST API surface in one skill, including batch operations, template evaluation, and history queries, without requiring any additional SDKs or middleware.

When to use it

  • Turn off all lights when leaving home
  • Check if the front door is locked before bed
  • Set thermostat temperature remotely
  • Trigger a bedtime or morning routine script
  • See which family members are currently home

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Turn off all the lights in the living room

AGENT
  1. 1Query the template API for all entities in the living_room area
  2. 2Filter results to light.* entities
  3. 3Call light/turn_off with the full array of entity IDs in a single batch request
  4. 4Confirm the returned state objects show state: off
OUTPUT

All living room lights turned off

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Home Assistant instance running and network-accessibleHA_URL env var set to the instance URL (e.g. http://10.0.0.10:8123)HA_TOKEN env var containing a long-lived access token (generated in Home Assistant under Profile > Long-Lived Access Tokens)