.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-07 16:02:45 +00:00
parent d28105d131
commit 8803aec3e5
+1
View File
@@ -865,3 +865,4 @@
{"timestamp": "2026-08-07T16:00:48.745612+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": 3.650665283203125, "success": true, "error_message": null, "response_size_bytes": 6156, "user_context": null}
{"timestamp": "2026-08-07T16:01:23.706541+00:00", "tool_name": "ha_search", "parameters": {"query": "sensor.octoprint_approximate_total_print_time", "domain_filter": null, "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": 14888.220071792603, "success": true, "error_message": null, "response_size_bytes": 1268, "user_context": null}
{"timestamp": "2026-08-07T16:02:14.970653+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": null, "mode": null, "query": null}, "execution_time_ms": 2.2318363189697266, "success": true, "error_message": null, "response_size_bytes": 9125, "user_context": null}
{"timestamp": "2026-08-07T16:02:38.844913+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "assert config['views'][0]['sections'][1]['cards'][6].get('entity') == 'sensor.octoprint_approximate_total_print_time'; del config['views'][0]['sections'][1]['cards'][6]", "config_hash": "d1daab8447c64fec", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 15.743255615234375, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Forbidden node type: Assert\",\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: assert config['views'][0]['sections'][1]['cards'][6].get('entity') == 'sensor.octoprint_approximate_...\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.\"\n ]\n },\n \"action\": \"python_transform\",\n \"url_path\": \"printer-stats\"\n}", "response_size_bytes": null, "user_context": null}