.storage/lovelace.printer_stats

This commit is contained in:
Home Assistant Version Control
2026-08-16 03:42:26 +00:00
parent f9129cb252
commit 89188356db
+2 -2
View File
@@ -126,8 +126,8 @@
}, },
{ {
"type": "custom:mushroom-template-card", "type": "custom:mushroom-template-card",
"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 %}", "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 %}Remain: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}{% endif %}",
"name": "Remain", "name": "Remaining",
"icon": "mdi:clock-end", "icon": "mdi:clock-end",
"grid_options": { "grid_options": {
"columns": 6 "columns": 6