From e6b1a90609bb96fbaf7ce9f1e1d333e3aaccb6b2 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Mon, 7 Sep 2026 15:06:03 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl, .storage/lovelace.printer_stats --- .ha_mcp/logs/mcp_usage.jsonl | 1 + .storage/lovelace.printer_stats | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 8002312e..08b99047 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -3601,3 +3601,4 @@ {"timestamp": "2026-09-06T06:24:43.959257+00:00", "tool_name": "ha_get_entity", "parameters": {"entity_id": "sensor.octoprint_height_progress_clean", "unique_id": null, "domain": null, "platform": null}, "execution_time_ms": 2.0885467529296875, "success": true, "error_message": null, "response_size_bytes": 691, "user_context": null} {"timestamp": "2026-09-06T06:25:22.672702+00:00", "tool_name": "ha_set_entity", "parameters": {"entity_id": "sensor.octoprint_height_progress_clean", "area_id": null, "name": null, "icon": null, "device_class": null, "options": {"sensor": {"display_precision": 1}}, "enabled": null, "hidden": null, "aliases": null, "categories": null, "labels": null, "label_operation": "set", "expose_to": null, "new_entity_id": null, "new_device_name": null}, "execution_time_ms": 2.633333206176758, "success": true, "error_message": null, "response_size_bytes": 611, "user_context": null} {"timestamp": "2026-09-07T15:05:14.424920+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": 116.60170555114746, "success": true, "error_message": null, "response_size_bytes": 11231, "user_context": null} +{"timestamp": "2026-09-07T15:05:56.223400+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'].insert(6, {\"type\": \"custom:mushroom-template-card\", \"primary\": \"{% set c = states('sensor.octoprint_height_progress_clean') | float(0) %}{% set t = state_attr('sensor.octoprint_height_progress_clean', 'total') | float(0) %}Height: {{ c }} of {{ t }} mm\", \"name\": \"Height\", \"icon\": \"mdi:axis-z-arrow\", \"grid_options\": {\"columns\": 6}})", "config_hash": "5b425acc2f49c586", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 84.7630500793457, "success": true, "error_message": null, "response_size_bytes": 30603, "user_context": null} diff --git a/.storage/lovelace.printer_stats b/.storage/lovelace.printer_stats index 0ce34e64..33d575f8 100644 --- a/.storage/lovelace.printer_stats +++ b/.storage/lovelace.printer_stats @@ -160,6 +160,15 @@ "columns": 6 } }, + { + "type": "custom:mushroom-template-card", + "primary": "{% set c = states('sensor.octoprint_height_progress_clean') | float(0) %}{% set t = state_attr('sensor.octoprint_height_progress_clean', 'total') | float(0) %}Height: {{ c }} of {{ t }} mm", + "name": "Height", + "icon": "mdi:axis-z-arrow", + "grid_options": { + "columns": 6 + } + }, { "type": "tile", "entity": "light.3d_printer_lights_local",