From 6d52cff28c210083734d4c676b420da30a092995 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Wed, 29 Jul 2026 15:22:49 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl --- .ha_mcp/logs/mcp_usage.jsonl | 1 + 1 file changed, 1 insertion(+) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 61864ed..1ab1c66 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -281,3 +281,4 @@ {"timestamp": "2026-07-29T15:21:49.272586+00:00", "tool_name": "ha_get_integration", "parameters": {"entry_id": "01KTNB20MBW0J8P6HRGJF3VF6T", "query": null, "domain": null, "include_options": true, "include_schema": false, "include_subentries": false, "include_subentry_schema": false, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "exact_match": true, "limit": 50, "offset": 0, "include_diagnostics": false, "include_knx_project": false, "device_id": null, "diagnostics_fields": null, "diagnostics_truncate_at_bytes": null, "diagnostics_data_path": null, "diagnostics_data_offset": 0, "diagnostics_data_limit": null}, "execution_time_ms": 11.871814727783203, "success": true, "error_message": null, "response_size_bytes": 669, "user_context": null} {"timestamp": "2026-07-29T15:21:59.073784+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "camera", "service": "play_stream", "entity_id": "camera.front_door_front_door", "data": {"media_player": "media_player.shield_2", "format": "hls", "entity_id": "camera.front_door_front_door"}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 14.332771301269531, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"API error: 500 - 500 Internal Server Error\\n\\nServer got itself in trouble\",\n \"suggestion\": \"Verify camera.front_door_front_door exists using ha_get_state()\",\n \"suggestions\": [\n \"Verify camera.front_door_front_door exists using ha_get_state()\",\n \"Check available services for camera domain using ha_get_skill_guide\",\n \"Use ha_search() to find correct entity IDs\",\n \"For automation: ha_call_service('automation', 'trigger', entity_id='camera.front_door_front_door')\",\n \"For universal control: ha_call_service('homeassistant', 'toggle', entity_id='camera.front_door_front_door')\"\n ]\n },\n \"domain\": \"camera\",\n \"service\": \"play_stream\",\n \"entity_id\": \"camera.front_door_front_door\"\n}", "response_size_bytes": null, "user_context": null} {"timestamp": "2026-07-29T15:22:11.377232+00:00", "tool_name": "ha_search", "parameters": {"query": "homekit", "domain_filter": "camera", "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 166.12672805786133, "success": true, "error_message": null, "response_size_bytes": 764, "user_context": null} +{"timestamp": "2026-07-29T15:22:43.998766+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set ns = namespace() %}\n{% set integrations = services | list %}\n{{ integrations | select('search', 'python') | list }}\n", "timeout": 3, "report_errors": true}, "execution_time_ms": 13.46588134765625, "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\": \"{% set ns = namespace() %}\\n{% set integrations = services | list %}\\n{{ integrations | select('search', 'python') | list }}\\n\",\n \"request_id\": 563985\n}", "response_size_bytes": null, "user_context": null}