.storage/lovelace.sparkx_i7, zigbee2mqtt/state.json
This commit is contained in:
@@ -495,19 +495,14 @@
|
||||
{
|
||||
"entity": "sensor.sparkx_i7_filament_weight_estimated",
|
||||
"grid_options": {
|
||||
"columns": 6,
|
||||
"rows": 3
|
||||
"columns": 6
|
||||
},
|
||||
"max": 100,
|
||||
"min": 0,
|
||||
"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",
|
||||
"severity": {
|
||||
"green": 0,
|
||||
"red": 100,
|
||||
"yellow": 60
|
||||
},
|
||||
"type": "gauge",
|
||||
"unit": "g"
|
||||
"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 %}No active job{% endif %}",
|
||||
"secondary": "{% set st = states('sensor.sparkx_i7_print_status') %}{% if st in ['printing', 'paused'] %}{{ states('sensor.sparkx_i7_used_material_length') | round(0) }} cm this job{% else %}{{ states('sensor.sparkx_i7_filament_weight_daily') | round(1) }} g · {{ states('sensor.sparkx_i7_filament_cost_daily') | round(2) }} $ today{% endif %}",
|
||||
"type": "custom:mushroom-template-card"
|
||||
},
|
||||
{
|
||||
"entity": "input_number.sparkx_i7_filament_g_cm",
|
||||
|
||||
Reference in New Issue
Block a user