.storage/lovelace.3d_printer_cellphone

This commit is contained in:
Home Assistant Version Control
2026-10-11 03:58:18 +00:00
parent 00c0e8b19a
commit e19f825a58
+11
View File
@@ -152,6 +152,17 @@
"red": 12
},
"name": "Flow"
},
{
"entity": "sensor.sparkx_i7_filament_weight_estimated",
"grid_options": {
"columns": 6
},
"icon": "{% set st = states('sensor.sparkx_i7_print_status') %}{% if st in ['printing', 'paused'] %}mdi:printer-3d-nozzle{% else %}mdi:calendar-today{% endif %}",
"multiline_secondary": true,
"name": "Filament Used",
"primary": "{% set st = states('sensor.sparkx_i7_print_status') %}{% if st in ['printing', 'paused'] %}{{ states('sensor.sparkx_i7_filament_weight_estimated') | round(1) }} g{% else %}Last job: {{ states('input_number.sparkx_i7_last_job_filament_weight') | round(1) }} g{% endif %}",
"type": "custom:mushroom-template-card"
}
]
}