.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-10-08 22:35:04 +00:00
parent a7c00fd875
commit d93ca72c9c
+4
View File
@@ -4108,3 +4108,7 @@
{"timestamp": "2026-10-08T22:28:12.041661+00:00", "tool_name": "ha_get_app", "parameters": {"source": "installed", "slug": null, "include_stats": false, "repository": null, "query": null}, "execution_time_ms": 114.61162567138672, "success": true, "error_message": null, "response_size_bytes": 5211, "user_context": null}
{"timestamp": "2026-10-08T22:28:12.069732+00:00", "tool_name": "ha_get_app", "parameters": {"source": null, "slug": "2c829f0e_spoolman", "include_stats": false, "repository": null, "query": null}, "execution_time_ms": 139.7099494934082, "success": true, "error_message": null, "response_size_bytes": 6996, "user_context": null}
{"timestamp": "2026-10-08T22:30:10.908406+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "sparkx-i7", "config": null, "python_transform": "for card in config['views'][3]['sections'][0]['cards']: if card.get('type') == 'custom:mushroom-template-card' and card.get('entity','').startswith('sensor.sparkx_i7_cfs_box_1_slot_'): card['picture'] = '''{% set c = states(''' + card['entity'] + ''') | replace('#','') | lower %}{% set svg = '<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"96\\\" height=\\\"96\\\"><rect width=\\\"96\\\" height=\\\"96\\\" rx=\\\"20\\\" fill=\\\"#' ~ c ~ '\\\" stroke=\\\"rgba(127,127,127,0.6)\\\" stroke-width=\\\"4\\\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}'''", "config_hash": "a18b5e7f7f52706a", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null, "patch": null}, "execution_time_ms": 10.396480560302734, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Syntax error: invalid syntax (<unknown>, line 1)\",\n \"suggestion\": \"Check expression syntax\",\n \"suggestions\": [\n \"Check expression syntax\",\n \"Ensure only allowed operations are used\",\n \"See tool description for allowed operations\",\n \"Expression: for card in config['views'][3]['sections'][0]['cards']: if card.get('type') == 'custom:mushroom-temp...\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide() to read SKILL.md, then the reference file its table points to, before retrying.\"\n ]\n },\n \"action\": \"python_transform\",\n \"url_path\": \"sparkx-i7\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-10-08T22:34:56.415734+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "spoolman", "mode": null, "query": null}, "execution_time_ms": 305.3452968597412, "success": true, "error_message": null, "response_size_bytes": 30232, "user_context": null}
{"timestamp": "2026-10-08T22:34:56.462338+00:00", "tool_name": "ha_search", "parameters": {"query": "cfs_box", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 50, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": ["entity_id", "friendly_name", "state"], "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 352.3223400115967, "success": true, "error_message": null, "response_size_bytes": 2547, "user_context": null}
{"timestamp": "2026-10-08T22:34:56.888581+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "1791477238729"}, "execution_time_ms": 774.5609283447266, "success": true, "error_message": null, "response_size_bytes": 5731, "user_context": null}
{"timestamp": "2026-10-08T22:34:56.901003+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "1791477238762"}, "execution_time_ms": 775.9666442871094, "success": true, "error_message": null, "response_size_bytes": 5423, "user_context": null}