glitch-homeassistant
by chris6970barbarian-hue
Smart Home & IoTBrief
Control smart home devices via Home Assistant API.
Description
What This Skill Does
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.
When to Use It
- 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
Example Workflow
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
Requirements
- Home Assistant instance running and accessible on your network
- Long-Lived Access Token generated from your HA user profile page
Installation
clawhub install chris6970barbarian-hue/glitch-homeassistantRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.