.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",
"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": "Remain",
"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": "Remaining",
"icon": "mdi:clock-end",
"grid_options": {
"columns": 6