.storage/lovelace.3d_printer_cellphone
This commit is contained in:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user