.storage/lovelace.3d_printer_cellphone
This commit is contained in:
@@ -96,10 +96,21 @@
|
|||||||
"name": "Current Job Weight (est.)",
|
"name": "Current Job Weight (est.)",
|
||||||
"icon": "mdi:weight-gram",
|
"icon": "mdi:weight-gram",
|
||||||
"grid_options": {
|
"grid_options": {
|
||||||
"columns": 12,
|
"columns": 6,
|
||||||
"rows": 1
|
"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",
|
"type": "heading",
|
||||||
"icon": "mdi:coolant-temperature",
|
"icon": "mdi:coolant-temperature",
|
||||||
@@ -152,17 +163,6 @@
|
|||||||
"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