.storage/lovelace.3d_printer_cellphone

This commit is contained in:
Home Assistant Version Control
2026-10-11 03:58:26 +00:00
parent e19f825a58
commit a287203d7d
+12 -12
View File
@@ -96,10 +96,21 @@
"name": "Current Job Weight (est.)",
"icon": "mdi:weight-gram",
"grid_options": {
"columns": 12,
"columns": 6,
"rows": 1
}
},
{
"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"
},
{
"type": "heading",
"icon": "mdi:coolant-temperature",
@@ -152,17 +163,6 @@
"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"
}
]
}