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

This commit is contained in:
Home Assistant Version Control
2026-08-14 15:45:33 +00:00
parent 53b66dd079
commit 4bf1a4e770
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -74,7 +74,7 @@
},
{
"type": "markdown",
"content": "**File:** {{ states('sensor.octoprint_print_file') }}\n**Size:** {{ (states('sensor.octoprint_print_file_size') | int(0) / 1024) | round(1) }} KB\n**User:** {{ states('sensor.octoprint_print_user') }}",
"content": "**File:** {{ states('sensor.octoprint_print_file') }}\n**Size:** {{ (states('sensor.octoprint_print_file_size') | int(0) / 1048576) | round(1) }} MB\n**User:** {{ states('sensor.octoprint_print_user') }}",
"grid_options": {
"columns": "full"
}
@@ -126,7 +126,7 @@
},
{
"type": "custom:mushroom-template-card",
"primary": "{% set s = states('sensor.octoprint_time_left') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Remaining: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}",
"primary": "{% set s = states('sensor.octoprint_time_left') | float(-1) %}{% if s <= 0 %}Remaining: No estimate{% else %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Remaining: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}{% endif %}",
"name": "Remaining",
"icon": "mdi:clock-end",
"grid_options": {