186 lines
5.7 KiB
JSON
186 lines
5.7 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "OpenClaw Assistant",
|
|
"description": "Set up the OpenClaw integration. The addon will be auto-detected if installed."
|
|
},
|
|
"confirm": {
|
|
"title": "Addon Discovered",
|
|
"description": "Found **{addon_name}** running at `{host}:{port}`.\n\nConfig path: `{config_path}`\n\nPress Submit to connect.",
|
|
"data": {}
|
|
},
|
|
"manual": {
|
|
"title": "Manual Configuration",
|
|
"description": "The OpenClaw addon was not auto-detected. Enter the gateway connection details manually.",
|
|
"data": {
|
|
"gateway_host": "Gateway Host",
|
|
"gateway_port": "Gateway Port",
|
|
"gateway_token": "Gateway Token",
|
|
"use_ssl": "Use SSL (HTTPS)",
|
|
"verify_ssl": "Verify SSL certificate",
|
|
"agent_id": "Agent ID"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Cannot connect to the OpenClaw gateway. Ensure the addon is running.",
|
|
"invalid_auth": "Invalid gateway token. Check your OpenClaw configuration.",
|
|
"ssl_error": "SSL certificate verification failed. If using self-signed certificates (e.g. lan_https mode), uncheck 'Verify SSL certificate' or use automatic discovery.",
|
|
"openai_api_disabled": "The gateway returned an unexpected response — the OpenAI-compatible API is likely disabled. In the OpenClaw addon settings enable 'enable_openai_api', restart the addon, and try again.",
|
|
"unknown": "An unexpected error occurred."
|
|
},
|
|
"abort": {
|
|
"already_configured": "OpenClaw is already configured."
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"title": "OpenClaw Options",
|
|
"description": "Configure context and tool-calling behavior.",
|
|
"data": {
|
|
"agent_id": "Agent ID (e.g. main)",
|
|
"voice_agent_id": "Voice agent ID (optional)",
|
|
"assist_session_id": "Assist session ID override (optional)",
|
|
"include_exposed_context": "Include exposed entities context",
|
|
"context_max_chars": "Max context characters",
|
|
"context_strategy": "When context exceeds max",
|
|
"enable_tool_calls": "Enable tool calls (execute services)",
|
|
"wake_word_enabled": "Require wake word",
|
|
"wake_word": "Wake word",
|
|
"allow_brave_webspeech": "Allow Web Speech in Brave (experimental)",
|
|
"voice_provider": "Voice input provider (browser or HA STT)",
|
|
"browser_voice_language": "Browser voice language",
|
|
"thinking_timeout": "Response timeout (seconds)"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"status": {
|
|
"name": "Status"
|
|
},
|
|
"last_activity": {
|
|
"name": "Last Activity"
|
|
},
|
|
"session_count": {
|
|
"name": "Session Count"
|
|
},
|
|
"model": {
|
|
"name": "Model"
|
|
},
|
|
"last_tool_name": {
|
|
"name": "Last Tool"
|
|
},
|
|
"last_tool_status": {
|
|
"name": "Last Tool Status"
|
|
},
|
|
"last_tool_duration_ms": {
|
|
"name": "Last Tool Duration"
|
|
},
|
|
"last_tool_invoked_at": {
|
|
"name": "Last Tool Invoked"
|
|
}
|
|
},
|
|
"binary_sensor": {
|
|
"connected": {
|
|
"name": "Connected"
|
|
}
|
|
},
|
|
"event": {
|
|
"message_received": {
|
|
"name": "Message Received"
|
|
},
|
|
"tool_invoked": {
|
|
"name": "Tool Invoked"
|
|
}
|
|
},
|
|
"button": {
|
|
"clear_history": {
|
|
"name": "Clear History"
|
|
},
|
|
"sync_history": {
|
|
"name": "Sync History"
|
|
},
|
|
"run_diagnostics": {
|
|
"name": "Run Diagnostics"
|
|
}
|
|
},
|
|
"select": {
|
|
"active_model": {
|
|
"name": "Active Model"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"send_message": {
|
|
"name": "Send Message",
|
|
"description": "Send a text message to OpenClaw.",
|
|
"fields": {
|
|
"message": {
|
|
"name": "Message",
|
|
"description": "The message text to send."
|
|
},
|
|
"session_id": {
|
|
"name": "Session ID",
|
|
"description": "Optional session ID for conversation context."
|
|
},
|
|
"agent_id": {
|
|
"name": "Agent ID",
|
|
"description": "Optional OpenClaw agent ID to route this message to. When omitted, OpenClaw routes by the Home Assistant user who called the service."
|
|
}
|
|
}
|
|
},
|
|
"clear_history": {
|
|
"name": "Clear History",
|
|
"description": "Clear scoped conversation history for the current Home Assistant user.",
|
|
"fields": {
|
|
"session_id": {
|
|
"name": "Session ID",
|
|
"description": "Session to clear. If omitted, clears this user's sessions for the resolved agent."
|
|
},
|
|
"agent_id": {
|
|
"name": "Agent ID",
|
|
"description": "Optional OpenClaw agent ID override for the history scope."
|
|
}
|
|
}
|
|
},
|
|
"invoke_tool": {
|
|
"name": "Invoke Tool",
|
|
"description": "Invoke a single OpenClaw gateway tool.",
|
|
"fields": {
|
|
"tool": {
|
|
"name": "Tool",
|
|
"description": "Tool name to invoke."
|
|
},
|
|
"action": {
|
|
"name": "Action",
|
|
"description": "Optional action string for the tool."
|
|
},
|
|
"args": {
|
|
"name": "Args",
|
|
"description": "Tool arguments object."
|
|
},
|
|
"session_key": {
|
|
"name": "Session Key",
|
|
"description": "Optional target session key."
|
|
},
|
|
"dry_run": {
|
|
"name": "Dry Run",
|
|
"description": "Optional dry-run flag."
|
|
},
|
|
"message_channel": {
|
|
"name": "Message Channel",
|
|
"description": "Optional channel context header."
|
|
},
|
|
"account_id": {
|
|
"name": "Account ID",
|
|
"description": "Optional account context header."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|