.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-26 05:01:35 +00:00
parent ffc3658e7d
commit 19acb12042
+1
View File
@@ -2260,3 +2260,4 @@
{"timestamp": "2026-08-26T05:00:11.422063+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "alarm-section", "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": 1.7745494842529297, "success": true, "error_message": null, "response_size_bytes": 3347, "user_context": null}
{"timestamp": "2026-08-26T05:00:11.742610+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "kobo-dashboard", "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": 14.378547668457031, "success": true, "error_message": null, "response_size_bytes": 6795, "user_context": null}
{"timestamp": "2026-08-26T05:00:12.215177+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "in-meeting", "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": 3.688812255859375, "success": true, "error_message": null, "response_size_bytes": 2632, "user_context": null}
{"timestamp": "2026-08-26T05:01:29.952731+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "dashboard-home", "config": null, "python_transform": "s = str(config); s = s.replace(\"'light.night_light'\", \"'light.night_light_2'\").replace(\"'light.office_lamp'\", \"'light.office_lamp_2'\").replace(\"'light.bedroom_lamp'\", \"'light.bedroom_lamp_2'\").replace(\"'sensor.night_light_illuminance'\", \"'sensor.night_light_illuminance_2'\"); exec('config.update(eval(s))')", "config_hash": "7703ad8902cf7c4b", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 9.029626846313477, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression validation failed: Forbidden function: exec\",\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: s = str(config); s = s.replace(\\\"'light.night_light'\\\", \\\"'light.night_light_2'\\\").replace(\\\"'light.offic...\",\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}