diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 05430843..6f68fcff 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -933,3 +933,4 @@ {"timestamp": "2026-08-08T02:25:46.958898+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_last_event", "fields": null, "attribute_keys": null}, "execution_time_ms": 5.451202392578125, "success": true, "error_message": null, "response_size_bytes": 719, "user_context": null} {"timestamp": "2026-08-08T02:27:34.703337+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_approximate_completion_time", "fields": null, "attribute_keys": null}, "execution_time_ms": 7.023811340332031, "success": true, "error_message": null, "response_size_bytes": 781, "user_context": null} {"timestamp": "2026-08-08T02:27:34.962521+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "print", "mode": null, "query": null}, "execution_time_ms": 1.9631385803222656, "success": true, "error_message": null, "response_size_bytes": 6198, "user_context": null} +{"timestamp": "2026-08-08T02:27:40.624244+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{{ (as_local(states('sensor.octoprint_approximate_completion_time') | as_datetime)).strftime('%I:%M %p').lstrip('0') }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 82.68356323242188, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"Command failed: {}\",\n \"suggestion\": \"Check template syntax - ensure proper Jinja2 formatting\",\n \"suggestions\": [\n \"Check template syntax - ensure proper Jinja2 formatting\",\n \"Verify entity_ids exist using ha_get_state()\",\n \"Use default values: {{ states('sensor.temp') | float(0) }}\",\n \"Check for typos in function names and entity references\",\n \"Test simpler templates first to isolate issues\"\n ]\n },\n \"template\": \"{{ (as_local(states('sensor.octoprint_approximate_completion_time') | as_datetime)).strftime('%I:%M %p').lstrip('0') }}\",\n \"request_id\": 60541\n}", "response_size_bytes": null, "user_context": null}