.storage/lovelace.printer_stats, zigbee2mqtt/state.json
This commit is contained in:
@@ -127,7 +127,7 @@
|
||||
{
|
||||
"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": "Remaining",
|
||||
"name": "Remain",
|
||||
"icon": "mdi:clock-end",
|
||||
"grid_options": {
|
||||
"columns": 6
|
||||
|
||||
Reference in New Issue
Block a user