.ha_mcp/logs/mcp_usage.jsonl, .storage/lovelace.printer_stats

This commit is contained in:
Home Assistant Version Control
2026-08-10 05:34:14 +00:00
parent 94aeed2e02
commit 1a60583c36
2 changed files with 37 additions and 0 deletions
+1
View File
@@ -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}
+36
View File
@@ -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"
}
}
]
}
]
}
]
}