homeassistant-skill

Control Home Assistant devices via REST API using curl and jq.

4|Updated Nov 18, 2025
One-click install
npx skills add https://github.com/informatico-madrid/ha-ev-trip-planner --skill homeassistant-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: homeassistant-skill
Source: https://github.com/informatico-madrid/ha-ev-trip-planner/tree/main/.agents/skills/homeassistant-skill
Command: npx skills add https://github.com/informatico-madrid/ha-ev-trip-planner --skill homeassistant-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simplifies controlling Home Assistant devices via REST API.

Core Features & Use Cases

  • Control 25 domains including lights, climate, locks, presence, weather, calendars, and notifications using natural-language prompts.
  • Discover entities, query states, trigger scripts and automations, and fetch status information from Home Assistant.
  • Integrate with AI agents to automate routine home tasks and respond to user requests hands-free.

Quick Start

Configure HA_URL and HA_TOKEN, then ask to turn on a light in the living room.

Frequently Asked Questions about homeassistant-skill

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

FAQPage Schema
How do I control Home Assistant devices using natural language through the REST API?

You can control Home Assistant devices via the REST API by configuring the HA_URL and HA_TOKEN environment variables. This enables natural-language prompts to trigger actions across 25 domains like lights, climate, and locks using curl and jq.

What can I manage in Home Assistant via the REST API besides turning on lights?

Beyond lights, the Home Assistant REST API supports querying states and triggering automations across 25 domains. You can manage climate, locks, presence, weather, calendars, and notifications using natural-language requests.

Do I need curl and jq to automate Home Assistant tasks with an AI assistant?

Yes, curl and jq are required to automate Home Assistant tasks via the REST API. They facilitate the natural-language control flow and state querying across your smart home domains by interacting with the configured HA_URL.

How do I securely trigger sensitive automations in Home Assistant using natural language?

Triggering sensitive automations in Home Assistant is secured by built-in safety checks enforced during processing. This ensures that natural-language requests to execute scripts or control locks via the REST API are validated before activation.

Can I query the current state of my smart home entities through the Home Assistant REST API?

Yes, you can query the current state of smart home entities through the Home Assistant REST API. The integration allows you to discover entities and fetch status information across 25 domains using curl and jq.

How do I set up the environment to use natural-language prompts for Home Assistant?

To set up the environment for natural-language prompts, configure the HA_URL and HA_TOKEN environment variables. Once configured, you can immediately ask the AI assistant to control devices or query states via the REST API.