From 1a60583c368eb6ebc2679a12139af64475cb693a Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Mon, 10 Aug 2026 05:34:14 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl, .storage/lovelace.printer_stats --- .ha_mcp/logs/mcp_usage.jsonl | 1 + .storage/lovelace.printer_stats | 36 +++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index bfb7fcd9..1e4881be 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -1104,3 +1104,4 @@ {"timestamp": "2026-08-10T05:26:36.314472+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": 5.705833435058594, "success": true, "error_message": null, "response_size_bytes": 12992, "user_context": null} {"timestamp": "2026-08-10T05:30:56.587029+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.028392791748047, "success": true, "error_message": null, "response_size_bytes": 7459, "user_context": null} {"timestamp": "2026-08-10T05:34:07.761013+00:00", "tool_name": "ha_config_set_dashboard_resource", "parameters": {"content": null, "url": "/local/gcode_viewer_card.js", "resource_type": "module", "resource_id": null}, "execution_time_ms": 3.776073455810547, "success": true, "error_message": null, "response_size_bytes": 217, "user_context": null} +{"timestamp": "2026-08-10T05:34:12.436770+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][3]['cards'].append({\"type\": \"button\", \"name\": \"GCode Viewer\", \"icon\": \"mdi:cube-outline\", \"tap_action\": {\"action\": \"url\", \"url_path\": \"https://ender5pro.duckdns.org/#/viewer\"}, \"grid_options\": {\"columns\": 6}}); config['views'].append({\"title\": \"GCode 3D\", \"path\": \"gcode-3d\", \"type\": \"sections\", \"max_columns\": 2, \"sections\": [{\"type\": \"grid\", \"cards\": [{\"type\": \"heading\", \"heading\": \"3D Toolpath\", \"icon\": \"mdi:cube-scan\"}, {\"type\": \"custom:gcode-viewer-card\", \"grid_options\": {\"columns\": \"full\"}}]}]})", "config_hash": "becadbaf3b1c07c3", "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.275125503540039, "success": true, "error_message": null, "response_size_bytes": 1289, "user_context": null} diff --git a/.storage/lovelace.printer_stats b/.storage/lovelace.printer_stats index 38f529d2..37e69923 100644 --- a/.storage/lovelace.printer_stats +++ b/.storage/lovelace.printer_stats @@ -288,6 +288,18 @@ "grid_options": { "columns": 6 } + }, + { + "type": "button", + "name": "GCode Viewer", + "icon": "mdi:cube-outline", + "tap_action": { + "action": "url", + "url_path": "https://ender5pro.duckdns.org/#/viewer" + }, + "grid_options": { + "columns": 6 + } } ] }, @@ -777,6 +789,30 @@ ] } ] + }, + { + "title": "GCode 3D", + "path": "gcode-3d", + "type": "sections", + "max_columns": 2, + "sections": [ + { + "type": "grid", + "cards": [ + { + "type": "heading", + "heading": "3D Toolpath", + "icon": "mdi:cube-scan" + }, + { + "type": "custom:gcode-viewer-card", + "grid_options": { + "columns": "full" + } + } + ] + } + ] } ] }