mirror of
https://gitcode.com/waxgourd/addons
synced 2026-03-29 11:28:27 +08:00
86 lines
2.5 KiB
YAML
86 lines
2.5 KiB
YAML
---
|
||
configuration:
|
||
timezone:
|
||
name: "时区"
|
||
description: "设置 add-on 的时区"
|
||
enable_terminal:
|
||
name: "启用 Web 终端"
|
||
description: "在 Home Assistant 中启用基于 Web 的终端访问"
|
||
gateway_public_url:
|
||
name: "网关公开 URL"
|
||
description: "网关 Web UI 的公开 URL(用于在新标签页中打开)"
|
||
homeassistant_token:
|
||
name: "Home Assistant 令牌"
|
||
description: "用于访问 Home Assistant API 的长效令牌"
|
||
model_source:
|
||
name: "模型源"
|
||
description: "选择使用的 AI 模型源"
|
||
items:
|
||
local: "本地模型"
|
||
cloud: "云端模型"
|
||
hybrid: "混合模式"
|
||
model_url:
|
||
name: "模型 API 地址"
|
||
description: "模型 API 地址(本地如 http://host.docker.internal:11434,或云端 API URL)"
|
||
model_name:
|
||
name: "模型名称"
|
||
description: "模型名称(如 qwen2.5、gpt-4o 等)"
|
||
api_key:
|
||
name: "API 密钥"
|
||
description: "云端 API 密钥(仅云端/混合模式需要)"
|
||
sandbox_mode:
|
||
name: "沙盒模式"
|
||
description: "启用沙盒模式以增强安全性"
|
||
gateway_bind_mode:
|
||
name: "网关绑定模式"
|
||
description: "网关绑定模式(loopback = 仅本地,lan = 局域网)"
|
||
items:
|
||
loopback: "仅本地访问 (loopback)"
|
||
lan: "局域网访问 (lan)"
|
||
gateway_port:
|
||
name: "网关端口"
|
||
description: "网关监听端口"
|
||
allow_insecure_auth:
|
||
name: "允许不安全的 HTTP 认证"
|
||
description: "允许浏览器通过 HTTP 直接访问网关 UI(端口 18789)。仅在无法使用 HTTPS 时启用,存在安全风险。"
|
||
clean_session_locks_on_start:
|
||
name: "启动时清理会话锁"
|
||
description: "启动时清理过时的会话锁文件"
|
||
clean_session_locks_on_exit:
|
||
name: "退出时清理会话锁"
|
||
description: "退出时清理会话锁文件"
|
||
|
||
options:
|
||
title: "配置选项"
|
||
submit: "保存"
|
||
cancel: "取消"
|
||
reset: "重置"
|
||
|
||
errors:
|
||
title: "错误"
|
||
connection_failed: "连接失败"
|
||
invalid_config: "配置无效"
|
||
api_key_required: "需要 API 密钥"
|
||
model_not_available: "模型不可用"
|
||
|
||
services:
|
||
restart: "重启"
|
||
update: "更新"
|
||
logs: "查看日志"
|
||
terminal: "终端"
|
||
|
||
status:
|
||
running: "正在运行"
|
||
stopped: "已停止"
|
||
starting: "正在启动"
|
||
stopping: "正在停止"
|
||
error: "错误"
|
||
|
||
info:
|
||
title: "OpenClaw Assistant"
|
||
description: "AI 智能助手,深度集成 Home Assistant"
|
||
version: "版本"
|
||
documentation: "文档"
|
||
issues: "问题反馈"
|
||
repository: "代码仓库"
|