From b4a92113ca4b0720cdf2400f4c4baa0dcde19e70 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Fri, 16 Oct 2026 20:03:29 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl, configuration.yaml --- .ha_mcp/logs/mcp_usage.jsonl | 1 + configuration.yaml | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 07f816de..74f9d5a7 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -4745,3 +4745,4 @@ {"timestamp": "2026-10-16T19:59:15.725993+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "python3 /config/colour-sync.py --once --colours '{%- set ns = namespace(items=[]) -%} {%- for s in states.sensor | selectattr('entity_id', 'match', '^sensor[.]spoolman_spool_[0-9]+$') -%} {%- set loc = (s.attributes.location | default('')) | trim -%} {%- if loc.lower().startswith('cfs lite ') -%} {%- set hexv = (s.attributes.filament_color_hex | default('')) | trim -%} {%- if hexv -%} {%- set ns.items = ns.items + [[loc, ('#' ~ hexv) if not hexv.startswith('#') else hexv]] -%} {%- endif -%} {%- endif -%} {%- endfor -%} {{ ns.items | tojson }}' >> /config/.colour-sync.log 2>&1", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 284.4884395599365, "success": true, "error_message": null, "response_size_bytes": 905, "user_context": null} {"timestamp": "2026-10-16T20:02:37.594989+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "shell_command", "service": "reload", "entity_id": null, "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 252.09712982177734, "success": true, "error_message": null, "response_size_bytes": 175, "user_context": null} {"timestamp": "2026-10-16T20:02:38.964295+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "shell_command", "service": "colour_sync_probe", "entity_id": null, "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 80.16705513000488, "success": true, "error_message": null, "response_size_bytes": 197, "user_context": null} +{"timestamp": "2026-10-16T20:03:27.268731+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "shell_command", "service": "reload", "entity_id": null, "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 338.6034965515137, "success": true, "error_message": null, "response_size_bytes": 175, "user_context": null} diff --git a/configuration.yaml b/configuration.yaml index d1dd1515..8daeb8c2 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -34,10 +34,7 @@ shell_command: {{ ns.items | tojson }}' >> /config/.colour-sync.log 2>&1 # TEMPORARY diagnostic - remove once colour sync is working. - colour_sync_probe: >- - python3 -c "import sys,json;open('/config/.probe.txt','w').write(json.dumps(sys.argv[1:]))" - '{{ 1 + 1 }}' - >> /config/.probe.log 2>&1 + colour_sync_probe: echo hello-probe > /config/.probe2.txt # Rest Commands (OctoPrint nozzle extrusion) rest_command: