.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-10 05:10:59 +00:00
parent 06a659d400
commit dfd8d3b0d9
+1
View File
@@ -1092,3 +1092,4 @@
{"timestamp": "2026-08-10T05:09:17.843708+00:00", "tool_name": "ha_restart", "parameters": {"confirm": true}, "execution_time_ms": 215.41404724121094, "success": true, "error_message": null, "response_size_bytes": 221, "user_context": null} {"timestamp": "2026-08-10T05:09:17.843708+00:00", "tool_name": "ha_restart", "parameters": {"confirm": true}, "execution_time_ms": 215.41404724121094, "success": true, "error_message": null, "response_size_bytes": 221, "user_context": null}
{"timestamp": "2026-08-10T05:10:46.603506+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_recent_prints", "fields": ["state", "attributes"], "attribute_keys": ["allPrintJobs"]}, "execution_time_ms": 33.24246406555176, "success": true, "error_message": null, "response_size_bytes": 57748, "user_context": null} {"timestamp": "2026-08-10T05:10:46.603506+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_recent_prints", "fields": ["state", "attributes"], "attribute_keys": ["allPrintJobs"]}, "execution_time_ms": 33.24246406555176, "success": true, "error_message": null, "response_size_bytes": 57748, "user_context": null}
{"timestamp": "2026-08-10T05:10:52.639992+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_recent_prints", "fields": ["state"], "attribute_keys": null}, "execution_time_ms": 14.18614387512207, "success": true, "error_message": null, "response_size_bytes": 365, "user_context": null} {"timestamp": "2026-08-10T05:10:52.639992+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_recent_prints", "fields": ["state"], "attribute_keys": null}, "execution_time_ms": 14.18614387512207, "success": true, "error_message": null, "response_size_bytes": 365, "user_context": null}
{"timestamp": "2026-08-10T05:10:56.637800+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% for j in state_attr('sensor.octoprint_recent_prints', 'allPrintJobs') | default([]) %}\n{% set d = j.get('duration', 0) | int %}\n- **{{ j.fileName }}** — {{ j.printStatusResult | title }}, {{ (d / 3600) | int }}h {{ ((d % 3600) / 60) | int }}m, {{ j.get('filamentModels', {}).get('total', {}).get('usedLength', 0) | round(0) }}mm\n{% endfor %}", "timeout": 3, "report_errors": true}, "execution_time_ms": 5.18798828125, "success": true, "error_message": null, "response_size_bytes": 779, "user_context": null}