Fix OPENCLAW_CONFIG_PATH env + bump add-on to 0.5.2

This commit is contained in:
root
2026-01-30 23:36:48 +02:00
parent 3b16006e6b
commit fde04e13f8
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: OpenClaw Assistant
version: "0.5.1"
version: "0.5.2"
slug: openclaw_assistant
description: Run OpenClaw Assistant (OpenClaw-compatible) as a Home Assistant add-on.
url: https://github.com/techartdev/OpenClawHomeAssistant
+2 -1
View File
@@ -123,13 +123,14 @@ fi
# ------------------------------------------------------------------------------
OPENCLAW_CONFIG_PATH="/config/.openclaw/openclaw.json"
export OPENCLAW_CONFIG_PATH
python3 - <<'PY'
import json
import os
from pathlib import Path
cfg_path = Path(os.environ['OPENCLAW_CONFIG_PATH'])
cfg_path = Path(os.environ.get('OPENCLAW_CONFIG_PATH', '/config/.openclaw/openclaw.json'))
def set_path(d, keys, value):
cur = d