.storage/lovelace.3d_printer_cellphone
This commit is contained in:
1 parent
00c0e8b19a
commit
e19f825a58
1 file changed
+11
@@ -152,6 +152,17 @@
|
|||||||
"red": 12
|
"red": 12
|
||||||
},
|
},
|
||||||
"name": "Flow"
|
"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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user