.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-26 16:02:44 +00:00
parent e572315a35
commit 034204929c
+1
View File
@@ -2675,3 +2675,4 @@
{"timestamp": "2026-08-26T16:02:08.869724+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": null, "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": "search", "query": "night_light_illuminance_2"}, "execution_time_ms": 49.32761192321777, "success": true, "error_message": null, "response_size_bytes": 780, "user_context": null}
{"timestamp": "2026-08-26T16:02:14.383583+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": null, "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": "search", "query": "night_light_occupancy_2"}, "execution_time_ms": 59.445858001708984, "success": true, "error_message": null, "response_size_bytes": 1041, "user_context": null}
{"timestamp": "2026-08-26T16:02:26.331106+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": 5.514621734619141, "success": true, "error_message": null, "response_size_bytes": 19092, "user_context": null}
{"timestamp": "2026-08-26T16:02:38.779820+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "dashboard-home", "config": null, "python_transform": "import json\nconfig_str = json.dumps(config)\nconfig_str = config_str.replace('light.night_light_2', 'light.night_light')\nconfig_str = config_str.replace('sensor.night_light_illuminance_2', 'sensor.night_light_illuminance')\nconfig = json.loads(config_str)", "config_hash": "2d93c21637f1d25d", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 2.861499786376953, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Forbidden node type: Import \\u2014 imports aren't available; built-ins like isinstance/len/range are exposed\",\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: import json\\nconfig_str = json.dumps(config)\\nconfig_str = config_str.replace('light.night_light_2', '...\",\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}