Home Assistant Skill

Control and automate Home Assistant devices via natural language.

The Home Assistant Skill available on ClawHub provides natural language control over Home Assistant devices and automations. Instead of using Home Assistant's web UI or app, you tell your OpenClaw agent 'turn off the living room lights' or 'set the thermostat to 22°C' and the skill translates your intent into Home Assistant API calls. The skill communicates with Home Assistant's REST API using a long-lived access token. It can query device states, toggle switches, adjust dimmers, set climate controls, trigger automations, and read sensor values. The agent understands device names, areas, and entity types, so you can use natural references like 'the bedroom fan' rather than entity IDs like 'fan.bedroom_ceiling_fan'. For smart home enthusiasts already running Home Assistant, this skill is the fastest path to voice/chat control through OpenClaw. Combined with the HA add-on (for running OpenClaw on the same hardware) or any OpenClaw deployment with network access to your HA instance, it creates a powerful conversational interface to your entire smart home ecosystem.

Tags: homeassistant, skill, automation

Category: infrastructure

Tips

  • Generate a long-lived access token in Home Assistant: Profile → Security → Long-Lived Access Tokens → Create Token
  • Install from ClawHub with `openclaw skill add homeassistant` — configuration requires your HA URL and access token
  • Use descriptive device names in Home Assistant so the agent can match natural language references ('kitchen lights' not 'light.z2m_0x1234')
  • Start with read-only queries (sensor readings, device states) before using write commands (toggle, set) to build confidence
  • Combine with cron for automated routines: morning check of all device states, evening 'goodnight' sequence, temperature alerts

Community Feedback

Control and automate Home Assistant devices via natural language. The bridge between your smart home and your AI agent.

— ClawHub

The HA skill is one of those instant-value installs. Five minutes of setup and you can control your entire house from Telegram.

— OpenClaw Community

Frequently Asked Questions

Does my Home Assistant instance need to be publicly accessible?

No. As long as your OpenClaw host can reach your HA instance on the local network (or via VPN/tunnel), the skill works. Most users run both on the same LAN.

Can it trigger Home Assistant automations?

Yes. The skill can trigger automations, scripts, and scenes defined in Home Assistant. You can say 'run the movie night scene' and it fires the corresponding HA automation.

Does it support all Home Assistant device types?

It supports the most common types: lights, switches, fans, climate, covers, sensors, and media players. Exotic integrations may need custom API calls, but the agent can make those directly via HA's REST API.

How does it handle devices with the same name in different rooms?

Use HA's area assignments. When you say 'turn off the light in the bedroom,' the skill filters by both device type and area. Clear area assignments in HA prevent ambiguity.