.storage/lovelace.sparkx_i7, zigbee2mqtt/state.json
This commit is contained in:
1 parent
721361659d
commit
db9096940d
2 files changed
+12
-9
No files matched your search
@@ -519,8 +519,11 @@
|
||||
"columns": 6
|
||||
},
|
||||
"icon": "mdi:counter",
|
||||
"multiline_secondary": true,
|
||||
"name": "Used Length",
|
||||
"type": "tile"
|
||||
"primary": "{% set st = states('sensor.sparkx_i7_print_status') %}{% if st in ['printing', 'paused'] %}{{ states('sensor.sparkx_i7_used_material_length') | round(0) }} cm{% else %}{{ (states('sensor.sparkx_i7_filament_weight_daily') | float(0) / states('input_number.sparkx_i7_filament_g_cm') | float(0.0298)) | round(0) }} cm{% endif %}",
|
||||
"secondary": "{% set st = states('sensor.sparkx_i7_print_status') %}{% if st in ['printing', 'paused'] %}this job (printer-reported){% else %}today, from today's weight{% endif %}",
|
||||
"type": "custom:mushroom-template-card"
|
||||
},
|
||||
{
|
||||
"entity": "sensor.sparkx_i7_filament_cost",
|
||||
|
||||
Reference in new issue
Block a user