โ† All skills
Tencent SkillHub ยท Developer Tools

Home Assistant Control

Control and inspect Home Assistant via REST API for entities, states, services, scenes, scripts, and automations. Use when the user asks to turn devices on/o...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Control and inspect Home Assistant via REST API for entities, states, services, scenes, scripts, and automations. Use when the user asks to turn devices on/o...

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
README.md, SKILL.md, references/entities.md, references/naming-context.md, scripts/examples.sh, scripts/fill_entities_md.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.3

Documentation

ClawHub primary doc Primary doc: SKILL.md 11 sections Open source page

Home Assistant Control

Use Home Assistant REST API with a long-lived access token.

For skill users (runtime)

bash curl jq Home Assistant long-lived token (HA_TOKEN) Home Assistant public base URL (HA_URL_PUBLIC)

For skill maintainers (packaging/validation)

python3 pyyaml (required by skill-creator validator/packager scripts)

Required environment variables

HA_TOKEN (required) HA_URL_PUBLIC (required; canonical target and fallback) Optional URL behavior: if HA_URL_LOCAL is set (and no HA_URL override), local is tried first, then fallback to HA_URL_PUBLIC HA_URL is an explicit override (if set, used directly)

Secrets handling (publish-safe)

Keep keys/URLs in an external file, not in the skill folder. Set HA_ENV_FILE=/absolute/path/to/file.env when you want file-based secret loading. If HA_ENV_FILE is not set, scripts only use environment variables already present in the shell. scripts/ha_call.sh and scripts/self_check.sh load env file only when HA_ENV_FILE is provided.

Core workflow

Parse the user request into target entity/service + desired action. Check references/naming-context.md for manual alias mappings first. Verify entity exists before changing state. Execute service call. Re-check state and report outcome clearly.

Useful endpoints

List states: GET /api/states Single state: GET /api/states/{entity_id} Call service: POST /api/services/{domain}/{service} Headers: Authorization: Bearer $HA_TOKEN Content-Type: application/json

Scripts

scripts/ha_env.sh โ€” loads env file only when HA_ENV_FILE is explicitly set, using safe KEY=VALUE parsing (no source/eval). scripts/ha_call.sh โ€” generic API caller for Home Assistant. scripts/fill_entities_md.sh โ€” generate references/entities.md from GET /api/states. Full map: ./scripts/fill_entities_md.sh Filter domains: ./scripts/fill_entities_md.sh --domains light,switch,climate,sensor scripts/save_naming_context.sh โ€” refresh references/naming-context.md for user-specific naming. ./scripts/save_naming_context.sh scripts/ha_entity_find.sh โ€” search entities by partial entity id or friendly name. ./scripts/ha_entity_find.sh kitchen ./scripts/ha_entity_find.sh temp --domains sensor,climate --limit 30 scripts/ha_safe_action.sh โ€” execute service actions with safety checks and risk confirmation. ./scripts/ha_safe_action.sh light turn_on light.kitchen '{"brightness_pct":60}' ./scripts/ha_safe_action.sh lock unlock lock.front_door --dry-run Add --yes to bypass interactive confirmation for risky domains. scripts/self_check.sh โ€” verify prerequisites and API connectivity/auth before running actions. ./scripts/self_check.sh

Safety

Confirm before high-impact actions (locks, alarms, garage/doors, heating shutdown). Do not print raw token values. If target entity is ambiguous, ask a follow-up question. Keep API paths scoped to Home Assistant endpoints only (/api/...). Use only HTTP(S) Home Assistant base URLs (HA_URL*), prefer HTTPS for public access. Avoid code execution when loading env files: parse key/value pairs, do not use source on untrusted paths.

Reference files

references/entities.md โ€” entity inventory references/naming-context.md โ€” user alias memory for natural names (e.g. "living room light")

Publishing notes

Keep examples generic (example_* IDs), no personal hostnames/tokens. Do not commit .env or any private env file with real tokens. Keep the skill focused: API workflow + reusable scripts + entity reference.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
4 Docs2 Scripts
  • SKILL.md Primary doc
  • README.md Docs
  • references/entities.md Docs
  • references/naming-context.md Docs
  • scripts/examples.sh Scripts
  • scripts/fill_entities_md.sh Scripts