.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-26 13:15:37 +00:00
parent 2a96a8f5fa
commit 9522a6578a
+1
View File
@@ -2495,3 +2495,4 @@
{"timestamp": "2026-08-26T13:12:20.915718+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config[\"views\"][0][\"sections\"][0][\"cards\"][1] = {\"type\": \"custom:webrtc-camera\", \"entity\": \"camera.endercamera_duckdns_org\", \"show_controls\": true, \"fullscreen\": true}; config[\"views\"][0][\"sections\"][0][\"cards\"][2] = {\"type\": \"custom:webrtc-camera\", \"entity\": \"camera.endercamera2_duckdns_org\", \"show_controls\": true, \"fullscreen\": true}", "config_hash": "30e2b3eb76e89178", "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.712249755859375, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression raised at runtime: NameError: name 'true' 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: config[\\\"views\\\"][0][\\\"sections\\\"][0][\\\"cards\\\"][1] = {\\\"type\\\": \\\"custom:webrtc-camera\\\", \\\"entity\\\": \\\"camera.e...\",\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}
{"timestamp": "2026-08-26T13:12:30.373948+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "ender5-printer", "config": null, "python_transform": "config[\"views\"][0][\"sections\"][0][\"cards\"][3][\"cards\"][0] = {\"type\": \"custom:webrtc-camera\", \"entity\": \"camera.endercamera_duckdns_org\", \"show_controls\": True, \"fullscreen\": True}; config[\"views\"][0][\"sections\"][0][\"cards\"][3][\"cards\"][1] = {\"type\": \"custom:webrtc-camera\", \"entity\": \"camera.endercamera2_duckdns_org\", \"show_controls\": True, \"fullscreen\": True}", "config_hash": "1ba434da0935c2e0", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 13.984918594360352, "success": true, "error_message": null, "response_size_bytes": 798, "user_context": null}
{"timestamp": "2026-08-26T13:12:33.020522+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config[\"views\"][0][\"sections\"][0][\"cards\"][1] = {\"type\": \"custom:webrtc-camera\", \"entity\": \"camera.endercamera_duckdns_org\", \"show_controls\": True, \"fullscreen\": True}; config[\"views\"][0][\"sections\"][0][\"cards\"][2] = {\"type\": \"custom:webrtc-camera\", \"entity\": \"camera.endercamera2_duckdns_org\", \"show_controls\": True, \"fullscreen\": True}", "config_hash": "30e2b3eb76e89178", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 10.632991790771484, "success": true, "error_message": null, "response_size_bytes": 922, "user_context": null}
{"timestamp": "2026-08-26T13:15:30.111380+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["camera.endercamera_duckdns_org", "camera.endercamera2_duckdns_org"], "fields": ["state", "attributes"], "attribute_keys": null}, "execution_time_ms": 14.148950576782227, "success": true, "error_message": null, "response_size_bytes": 1114, "user_context": null}