Home Assistant Skill
Control smart home devices via Home Assistant API.
by chris6970barbarian-hue · published 2026-03-22
$ claw add gh:chris6970barbarian-hue/chris6970barbarian-hue-glitch-homeassistant# Home Assistant Skill
Control smart home devices via Home Assistant API.
Skill Metadata
Setup Commands
Prerequisites
1. Home Assistant running on local network
2. Long-Lived Access Token from HA Profile page
Configuration (One-Command)
# Run this to configure
ha-cli setup <HA_URL> <TOKEN>
# Example:
ha-cli setup 192.168.1.100 your_long_lived_token_hereOr set environment variables:
export HA_URL="http://homeassistant.local:8123"
export HA_TOKEN="your_token_here"Usage Commands
Basic Control
# Turn on device (any type)
ha-cli on <device_name>
ha-cli <device_name> on
# Turn off device
ha-cli off <device_name>
ha-cli <device_name> offBrightness & Color
# Set brightness (0-100)
ha-cli brightness <0-100> <device_name>
ha-cli <device_name> brightness 75
# Set RGB color
ha-cli rgb #RRGGBB <device_name>
ha-cli rgb #FF5500 "Living Room"Temperature
# Set temperature
ha-cli <temperature> <thermostat_name>
ha-cli 22 thermostatScenes & Scripts
# Activate scene
ha-cli scene <scene_name>
ha-cli scene movie
# Run script
ha-cli script <script_name>
ha-cli script morningStatus & Discovery
# Check HA status
ha-cli status
ha-cli info
# List all entities
ha-cli list
ha-cli list entities
# List by domain
ha-cli list light
ha-cli list switch
ha-cli list climateSupported Device Types
| Domain | Commands | Examples |
|--------|----------|----------|
| light | on, off, brightness, rgb | `ha-cli on living room` |
| switch | on, off | `ha-cli off tv` |
| cover | open, close, stop | `ha-cli open blinds` |
| climate | temperature, mode | `ha-cli 22 thermostat` |
| lock | lock, unlock | `ha-cli lock front door` |
| scene | activate | `ha-cli scene movie` |
| script | run | `ha-cli script morning` |
Entity Matching
Error Handling
Related Skills
Files
homeassistant/
├── SKILL.md # This file
├── README.md # User documentation
├── ha-cli # Main CLI executable
├── ha # Bash wrapper
└── config.json # Saved configurationMore tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...