This commit is contained in:
Home Assistant Version Control
2026-09-24 03:02:15 +00:00
parent 706a189a50
commit df0f7eb640
3 changed files with 601 additions and 27 deletions
+20 -27
View File
@@ -49,7 +49,7 @@
"image_entity": "image.sparkx_i7_current_print_preview",
"show_name": false,
"grid_options": {
"columns": "full"
"columns": 6
}
},
{
@@ -205,6 +205,15 @@
"columns": 6
}
},
{
"type": "tile",
"entity": "sensor.sparkx_i7_flow_rate",
"name": "Flow Rate",
"icon": "mdi:chart-gantt",
"grid_options": {
"columns": 6
}
},
{
"type": "tile",
"entity": "sensor.sparkx_i7_current_object",
@@ -265,22 +274,6 @@
"type": "gauge",
"unit": "°C"
},
{
"entity": "sensor.sparkx_i7_chamber_temperature",
"grid_options": {
"columns": 4
},
"max": 100,
"min": 0,
"name": "Chamber",
"severity": {
"green": 0,
"red": 70,
"yellow": 45
},
"type": "gauge",
"unit": "°C"
},
{
"entity": "number.sparkx_i7_nozzle_target",
"grid_options": {
@@ -712,9 +705,9 @@
"icon": "mdi:printer-3d-nozzle",
"name": "Slot 1",
"primary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_1_filament') }}",
"secondary": "{% set col = states('sensor.sparkx_i7_cfs_box_1_slot_1_color') %}{% if col %}{{ col }} · {% endif %}{{ states('sensor.sparkx_i7_cfs_box_1_slot_1_remaining') }}% left",
"secondary": "{% set col = states('sensor.sparkx_i7_slot_1_color_name') %}{% if col %}{{ col }} · {% endif %}{{ states('sensor.sparkx_i7_cfs_box_1_slot_1_remaining') }}% left",
"multiline_secondary": true,
"icon_color": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_1_color') }}"
"icon_color": "{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_1_color')|default('')|string %}{% set core = c|replace('#','') %}{% if core|length >= 6 %}#{{ core[-6:] }}{% endif %}"
},
{
"type": "custom:mushroom-template-card",
@@ -724,9 +717,9 @@
"icon": "mdi:printer-3d-nozzle",
"name": "Slot 2",
"primary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_2_filament') }}",
"secondary": "{% set col = states('sensor.sparkx_i7_cfs_box_1_slot_2_color') %}{% if col %}{{ col }} · {% endif %}{{ states('sensor.sparkx_i7_cfs_box_1_slot_2_remaining') }}% left",
"secondary": "{% set col = states('sensor.sparkx_i7_slot_2_color_name') %}{% if col %}{{ col }} · {% endif %}{{ states('sensor.sparkx_i7_cfs_box_1_slot_2_remaining') }}% left",
"multiline_secondary": true,
"icon_color": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_2_color') }}"
"icon_color": "{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_2_color')|default('')|string %}{% set core = c|replace('#','') %}{% if core|length >= 6 %}#{{ core[-6:] }}{% endif %}"
},
{
"type": "custom:mushroom-template-card",
@@ -736,9 +729,9 @@
"icon": "mdi:printer-3d-nozzle",
"name": "Slot 3",
"primary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_3_filament') }}",
"secondary": "{% set col = states('sensor.sparkx_i7_cfs_box_1_slot_3_color') %}{% if col %}{{ col }} · {% endif %}{{ states('sensor.sparkx_i7_cfs_box_1_slot_3_remaining') }}% left",
"secondary": "{% set col = states('sensor.sparkx_i7_slot_3_color_name') %}{% if col %}{{ col }} · {% endif %}{{ states('sensor.sparkx_i7_cfs_box_1_slot_3_remaining') }}% left",
"multiline_secondary": true,
"icon_color": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_3_color') }}"
"icon_color": "{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_3_color')|default('')|string %}{% set core = c|replace('#','') %}{% if core|length >= 6 %}#{{ core[-6:] }}{% endif %}"
},
{
"type": "custom:mushroom-template-card",
@@ -748,9 +741,9 @@
"icon": "mdi:printer-3d-nozzle",
"name": "Slot 4",
"primary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_4_filament') }}",
"secondary": "{% set col = states('sensor.sparkx_i7_cfs_box_1_slot_4_color') %}{% if col %}{{ col }} · {% endif %}{{ states('sensor.sparkx_i7_cfs_box_1_slot_4_remaining') }}% left",
"secondary": "{% set col = states('sensor.sparkx_i7_slot_4_color_name') %}{% if col %}{{ col }} · {% endif %}{{ states('sensor.sparkx_i7_cfs_box_1_slot_4_remaining') }}% left",
"multiline_secondary": true,
"icon_color": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_4_color') }}"
"icon_color": "{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_4_color')|default('')|string %}{% set core = c|replace('#','') %}{% if core|length >= 6 %}#{{ core[-6:] }}{% endif %}"
}
]
},
@@ -779,9 +772,9 @@
"icon": "mdi:lan-outline",
"name": "External Filament",
"primary": "{{ states('sensor.sparkx_i7_cfs_external_filament') }}",
"secondary": "{% set col = states('sensor.sparkx_i7_cfs_external_color') %}{% if col %}{{ col }} · {% endif %}{{ states('sensor.sparkx_i7_cfs_external_remaining') }}% left",
"secondary": "{% set col = states('sensor.sparkx_i7_external_color_name') %}{% if col %}{{ col }} · {% endif %}{{ states('sensor.sparkx_i7_cfs_external_remaining') }}% left",
"multiline_secondary": true,
"icon_color": "{{ states('sensor.sparkx_i7_cfs_external_color') }}"
"icon_color": "{% set c = states('sensor.sparkx_i7_cfs_external_color')|default('')|string %}{% set core = c|replace('#','') %}{% if core|length >= 6 %}#{{ core[-6:] }}{% endif %}"
},
{
"type": "tile",