From e6de73f82a94368b80169612d5427ce5b9689a71 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Wed, 26 Aug 2026 06:43:59 +0000 Subject: [PATCH] 3 files --- .ha_mcp/logs/mcp_usage.jsonl | 2 ++ .storage/lovelace.ender5_printer | 52 ++------------------------------ .storage/lovelace.printer_stats | 1 - 3 files changed, 5 insertions(+), 50 deletions(-) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index ebe752c8..389581d4 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -2458,3 +2458,5 @@ {"timestamp": "2026-08-26T06:42:10.961243+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "ender5-printer", "list_only": false, "force_reload": false, "entity_id": null, "card_type": "webrtc-camera", "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 5.735874176025391, "success": true, "error_message": null, "response_size_bytes": 389, "user_context": null} {"timestamp": "2026-08-26T06:42:29.026882+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "ender5-printer", "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": 4.004955291748047, "success": true, "error_message": null, "response_size_bytes": 17993, "user_context": null} {"timestamp": "2026-08-26T06:42:39.468593+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "ender5-printer", "config": null, "python_transform": "config[\"views\"][0][\"sections\"][0][\"cards\"][6][\"cards\"][0][\"url\"] = \"https://endercamera2.duckdns.org/stream\"", "config_hash": "395ec40de021e9a3", "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.83230972290039, "success": true, "error_message": null, "response_size_bytes": 545, "user_context": null} +{"timestamp": "2026-08-26T06:43:53.182039+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config[\"views\"][0][\"sections\"][0][\"cards\"][2] = {\"type\": \"custom:webrtc-camera\", \"url\": \"https://endercamera2.duckdns.org/stream\", \"grid_options\": {\"columns\": \"full\"}}", "config_hash": "087c2e97ebd63c5c", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 11.230945587158203, "success": true, "error_message": null, "response_size_bytes": 752, "user_context": null} +{"timestamp": "2026-08-26T06:43:55.051897+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "ender5-printer", "config": null, "python_transform": "config[\"views\"][0][\"sections\"][0][\"cards\"][6][\"cards\"][0] = {\"type\": \"custom:webrtc-camera\", \"url\": \"https://endercamera2.duckdns.org/stream\", \"style\": \"border-radius: 12px 12px 0 0; overflow: hidden;\"}", "config_hash": "d085eb346d8dd8a9", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 18.781185150146484, "success": true, "error_message": null, "response_size_bytes": 639, "user_context": null} diff --git a/.storage/lovelace.ender5_printer b/.storage/lovelace.ender5_printer index 35ea7412..7f852a96 100644 --- a/.storage/lovelace.ender5_printer +++ b/.storage/lovelace.ender5_printer @@ -483,55 +483,9 @@ "type": "horizontal-stack", "cards": [ { - "type": "custom:button-card", - "entity": "binary_sensor.octoprint_connected", - "show_name": false, - "show_icon": false, - "tap_action": { - "action": "none" - }, - "custom_fields": { - "content": "[[[\n const connected = states['binary_sensor.octoprint_connected']?.state === 'on';\n const printing = states['binary_sensor.octoprint_printing']?.state === 'on';\n const paused = states['binary_sensor.octoprint_paused']?.state === 'on';\n const prints = states['sensor.octoprint_printer_prints_today']?.state || '0';\n const ptime = states['sensor.octoprint_printer_print_time_today']?.state || '--';\n const fil = ((parseFloat(states['sensor.octoprint_filament_daily']?.state) || 0) / 10).toFixed(1);\n\n const row = (label, value, vc) => `\n
\n ${label}\n ${value}\n
`;\n return `\n
\n
\n \n Diagnostics\n
\n ${row('Connected', connected ? 'Yes' : 'No', connected ? '#4CAF50' : '#F44336')}\n ${row('Status', printing ? (paused ? 'Paused' : 'Printing') : 'Idle', printing ? '#4CAF50' : null)}\n ${row('Prints today', prints, null)}\n ${row('Time today', ptime + ' h', null)}\n ${row('Filament today', fil + ' m', null)}\n
\n `;\n ]]]" - }, - "styles": { - "card": [ - { - "background": "var(--ha-card-background, var(--card-background-color))" - }, - { - "border-radius": "12px" - }, - { - "padding": "0" - }, - { - "height": "74px" - }, - { - "position": "relative" - }, - { - "box-shadow": "none" - }, - { - "height": "190px" - } - ], - "custom_fields": { - "content": [ - { - "position": "absolute" - }, - { - "inset": "0" - }, - { - "padding": "0" - } - ] - } - }, - "url": "https://endercamera2.duckdns.org/stream" + "type": "custom:webrtc-camera", + "url": "https://endercamera2.duckdns.org/stream", + "style": "border-radius: 12px 12px 0 0; overflow: hidden;" }, { "type": "vertical-stack", diff --git a/.storage/lovelace.printer_stats b/.storage/lovelace.printer_stats index df3ceaae..12cb8181 100644 --- a/.storage/lovelace.printer_stats +++ b/.storage/lovelace.printer_stats @@ -27,7 +27,6 @@ { "type": "custom:webrtc-camera", "url": "https://endercamera2.duckdns.org/stream", - "mode": "mse", "grid_options": { "columns": "full" }