.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-31 15:48:52 +00:00
parent 142a062f8f
commit e96f407da8
+1
View File
@@ -3413,3 +3413,4 @@
{"timestamp": "2026-08-31T15:47:42.798003+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "dashboard-home", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "0", "mode": null, "query": null}, "execution_time_ms": 16.077518463134766, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Dashboard view path '0' is not found.\",\n \"suggestion\": \"Use a view_path returned by ha_config_get_dashboard\"\n },\n \"dashboard_url_path\": \"dashboard-home\",\n \"view_path\": \"0\",\n \"available_view_paths\": [\n \"calendar-popup\"\n ]\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-31T15:47:46.429590+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "dashboard-home", "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": 6.539344787597656, "success": true, "error_message": null, "response_size_bytes": 18430, "user_context": null}
{"timestamp": "2026-08-31T15:47:53.501299+00:00", "tool_name": "ha_search", "parameters": {"query": "printer", "domain_filter": "sensor", "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": 101.21941566467285, "success": true, "error_message": null, "response_size_bytes": 2631, "user_context": null}
{"timestamp": "2026-08-31T15:48:45.537770+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "dashboard-home", "config": null, "python_transform": "cards = config['views'][0]['sections'][1]['cards']; idx = next(i for i,c in enumerate(cards) if c.get('entity')=='sensor.filter_current_consumption'); cards.insert(idx+1, {\"type\":\"tile\",\"entity\":\"sensor.printer_power\",\"vertical\":False,\"features\":[{\"type\":\"trend-graph\"}],\"features_position\":\"bottom\"})", "config_hash": "9cb8751baebf7c79", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 5.425691604614258, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression raised at runtime: NameError: name 'next' is not defined\",\n \"suggestion\": \"Verify referenced keys/indices exist in the input\",\n \"suggestions\": [\n \"Verify referenced keys/indices exist in the input\",\n \"Check that types match (e.g. dict vs list operations)\",\n \"Use .get(key, default) to handle missing keys\",\n \"Expression: cards = config['views'][0]['sections'][1]['cards']; idx = next(i for i,c in enumerate(cards) if c.ge...\",\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\": \"dashboard-home\"\n}", "response_size_bytes": null, "user_context": null}