OpenClaw integration for Home Assistant with a simple dashboard workflow:
- configure Gateway URL + API token
- send prompts/tasks to OpenClaw
- view status in Home Assistant
- Validated Config Flow (checks connectivity/auth before saving)
- Re-auth flow for expired/invalid token
- Options Flow (change poll interval + agent id without re-adding)
- Services:
openclaw.send_message,openclaw.run_task,openclaw.refresh_status,openclaw.health_check - Sensor suite with device grouping + availability handling
POST /tools/invokefor status (session_statustool)POST /v1/chat/completionsfor prompt/task execution
Required gateway setting for chat:
{
"gateway": {
"http": {
"endpoints": {
"chatCompletions": { "enabled": true }
}
}
}
}- HACS → Integrations → Custom repositories
- Add this repo URL, category: Integration
- Install OpenClaw
- Restart Home Assistant
- Add integration via Settings → Devices & Services
Board-style card inspired by openclaw_react_board is included at:
www/openclaw-board-card.js
Features (v2):
- 4 Kanban columns: Offen / In Arbeit / Review / Erledigt
- Drag & drop cards between columns
- Add task inline per column (Enter)
- Delete task button
- Local persistence via browser
localStorage - Optional sync actions to OpenClaw (
run_task) on add/move - Top-right actions: Update + Health
sensor.openclaw_gateway_statussensor.openclaw_gateway_active_sessionssensor.openclaw_gateway_usage_tokenssensor.openclaw_gateway_cost_estimatesensor.openclaw_gateway_uptime_seconds
Add as Lovelace resource:
- URL:
/local/openclaw-board-card.js - Type:
module
Example card config:
type: custom:openclaw-board-card
title: OpenClaw Board
icon: mdi:robot-outline
board_url: https://github.com/AlexPEClub/openclaw_react_board
storage_key: openclaw_board_v2
sync_with_openclaw: true- Integration backend:
custom_components/openclaw/ - Frontend card:
www/openclaw-board-card.js
This is HACS-first and intentionally scoped for a fast, stable MVP.