跳到正文
TakoAPI
返回技能列表

homeassistant-assist

由 developmentcats 提供

AI & LLMs
2.4k下载量由 clawskills.sh 提供
6星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Control Home Assistant smart home devices using the Assist (Conversation) API.

描述

该技能的功能

Passes natural language commands to Home Assistant's built-in Assist (Conversation) API to control smart home devices. Handles lights, switches, thermostats, covers, vacuums, media players, and any other entity in Home Assistant. Intent parsing and entity resolution are handled by Assist, not the agent.

Delegates intent parsing and entity resolution to Home Assistant's native NLU instead of reimplementing that logic in the agent, keeping commands fast and token-efficient.

何时使用

  • Turn off all lights before leaving home
  • Set the thermostat to a specific temperature
  • Ask which lights are currently on
  • Control a specific room's devices by area
  • Trigger a vacuum to start cleaning

示例工作流

输入

User asks: turn on the living room lights

智能体
  1. 1

    Reads HASS_SERVER and HASS_TOKEN from environment

  2. 2

    Sends POST request to /api/conversation/process with the natural language text

  3. 3

    Receives response from Assist with response.speech.plain.speech field

  4. 4

    Relays the speech text back to the user

输出

"Turned on the light" — Home Assistant confirms the entity was activated

前置要求

  • HASS_SERVER environment variable (URL of your Home Assistant instance)
  • HASS_TOKEN environment variable (long-lived access token from Home Assistant profile)
  • Home Assistant instance with Assist enabled

安装

clawhub install developmentcats/homeassistant-assist

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接