glitch-homeassistant
由 chris6970barbarian-hue 提供
Smart Home & IoT简介
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
Runs
ha-cli on living roomto turn on the light - 2
Runs
ha-cli brightness 40 living roomto set brightness - 3
Runs
ha-cli rgb #FF5500 living roomto apply the orange color - 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 或你在用的任意编程智能体里。