.ha_mcp/logs/mcp_usage.jsonl, configuration.yaml

This commit is contained in:
Home Assistant Version Control
2026-10-16 20:03:29 +00:00
parent 698ee960e7
commit b4a92113ca
2 changed files with 2 additions and 4 deletions
+1
View File
@@ -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-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: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: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}
+1 -4
View File
@@ -34,10 +34,7 @@ shell_command:
{{ ns.items | tojson }}' {{ ns.items | tojson }}'
>> /config/.colour-sync.log 2>&1 >> /config/.colour-sync.log 2>&1
# TEMPORARY diagnostic - remove once colour sync is working. # TEMPORARY diagnostic - remove once colour sync is working.
colour_sync_probe: >- colour_sync_probe: echo hello-probe > /config/.probe2.txt
python3 -c "import sys,json;open('/config/.probe.txt','w').write(json.dumps(sys.argv[1:]))"
'{{ 1 + 1 }}'
>> /config/.probe.log 2>&1
# Rest Commands (OctoPrint nozzle extrusion) # Rest Commands (OctoPrint nozzle extrusion)
rest_command: rest_command: