跳到正文
TakoAPI
返回技能列表

glitch-homeassistant

由 chris6970barbarian-hue 提供

Smart Home & IoT
473下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Control smart home devices via Home Assistant API.

描述

该技能的功能

Controls Home Assistant devices from the command line via the HA REST API. Supports lights, switches, covers, climate, locks, scenes, and scripts. Entity matching is case-insensitive with partial and fuzzy name support.

Lets you control smart home devices from the terminal, making it straightforward to include device actions in shell scripts or automation workflows without switching to a browser or mobile app.

何时使用

  • Dimming bedroom lights to a set brightness before bed
  • Adjusting thermostat temperature from a terminal script
  • Activating a movie scene without opening the HA web UI
  • Running a morning routine script to trigger multiple devices at once
  • Listing all entities to find the correct device name

示例工作流

输入

User asks: set the living room lights to orange at 40% brightness

智能体
  1. 1

    Runs ha-cli on living room to turn on the light

  2. 2

    Runs ha-cli brightness 40 living room to set brightness

  3. 3

    Runs ha-cli rgb #FF5500 living room to apply the orange color

  4. 4

    Confirms entity was matched via fuzzy name resolution

输出

Living room light is on at 40% brightness with an orange color

前置要求

  • Home Assistant instance running and accessible on your network
  • Long-Lived Access Token generated from your HA user profile page

安装

clawhub install chris6970barbarian-hue/glitch-homeassistant

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

链接