This commit is contained in:
Home Assistant Version Control
2026-09-24 02:45:23 +00:00
parent c4c647049f
commit f2c9458d5f
4 changed files with 626 additions and 17 deletions
+113 -11
View File
@@ -44,10 +44,18 @@
"columns": "full"
}
},
{
"type": "picture",
"image_entity": "image.sparkx_i7_current_print_preview",
"show_name": false,
"grid_options": {
"columns": "full"
}
},
{
"entity": "sensor.sparkx_i7_print_status",
"grid_options": {
"columns": 6
"columns": 12
},
"icon": "mdi:state-machine",
"name": "Status",
@@ -56,11 +64,29 @@
{
"entity": "sensor.sparkx_i7_position_z",
"grid_options": {
"columns": 6
"columns": 4
},
"icon": "mdi:axis-z-arrow",
"name": "Current Z",
"type": "tile"
},
{
"type": "tile",
"entity": "sensor.sparkx_i7_position_x",
"name": "X",
"icon": "mdi:axis-x-arrow",
"grid_options": {
"columns": 4
}
},
{
"type": "tile",
"entity": "sensor.sparkx_i7_position_y",
"name": "Y",
"icon": "mdi:axis-y-arrow",
"grid_options": {
"columns": 4
}
}
],
"type": "grid"
@@ -151,6 +177,51 @@
"hours_to_show": 24,
"name": "Progress History",
"type": "sensor"
},
{
"type": "tile",
"entity": "number.sparkx_i7_print_tuning",
"name": "Print Tuning",
"icon": "mdi:speedometer",
"grid_options": {
"columns": 6
}
},
{
"type": "tile",
"entity": "sensor.sparkx_i7_print_speed",
"name": "Speed",
"icon": "mdi:speedometer",
"grid_options": {
"columns": 6
}
},
{
"type": "tile",
"entity": "sensor.sparkx_i7_real_time_flow",
"name": "Real-Time Flow",
"icon": "mdi:cube-send",
"grid_options": {
"columns": 6
}
},
{
"type": "tile",
"entity": "sensor.sparkx_i7_current_object",
"name": "Object",
"icon": "mdi:cube-outline",
"grid_options": {
"columns": 6
}
},
{
"type": "tile",
"entity": "sensor.sparkx_i7_object_count",
"name": "Object Count",
"icon": "mdi:counter",
"grid_options": {
"columns": 6
}
}
],
"type": "grid"
@@ -345,6 +416,22 @@
}
},
"type": "tile"
},
{
"type": "tile",
"entity": "button.sparkx_i7_home_xy_then_z",
"name": "Home",
"icon": "mdi:home-circle",
"grid_options": {
"columns": 4
},
"tap_action": {
"action": "perform-action",
"perform_action": "button.press",
"target": {
"entity_id": "button.sparkx_i7_home_xy_then_z"
}
}
}
],
"type": "grid"
@@ -382,6 +469,15 @@
"name": "g/cm",
"type": "tile"
},
{
"type": "tile",
"entity": "sensor.sparkx_i7_used_material_length",
"name": "Used Length",
"icon": "mdi:counter",
"grid_options": {
"columns": 6
}
},
{
"entity": "sensor.sparkx_i7_filament_cost",
"grid_options": {
@@ -606,7 +702,9 @@
"icon": "mdi:water-percent",
"grid_options": {
"columns": 6
}
},
"icon_color": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_1_color') }}",
"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"
},
{
"type": "custom:mushroom-template-card",
@@ -616,8 +714,9 @@
"icon": "mdi:printer-3d-nozzle",
"name": "Slot 1",
"primary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_1_filament') }}",
"secondary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_1_remaining') }}% left",
"multiline_secondary": true
"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",
"multiline_secondary": true,
"icon_color": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_2_color') }}"
},
{
"type": "custom:mushroom-template-card",
@@ -627,8 +726,9 @@
"icon": "mdi:printer-3d-nozzle",
"name": "Slot 2",
"primary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_2_filament') }}",
"secondary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_2_remaining') }}% left",
"multiline_secondary": true
"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",
"multiline_secondary": true,
"icon_color": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_3_color') }}"
},
{
"type": "custom:mushroom-template-card",
@@ -638,8 +738,9 @@
"icon": "mdi:printer-3d-nozzle",
"name": "Slot 3",
"primary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_3_filament') }}",
"secondary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_3_remaining') }}% left",
"multiline_secondary": true
"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",
"multiline_secondary": true,
"icon_color": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_4_color') }}"
},
{
"type": "custom:mushroom-template-card",
@@ -679,8 +780,9 @@
"icon": "mdi:lan-outline",
"name": "External Filament",
"primary": "{{ states('sensor.sparkx_i7_cfs_external_filament') }}",
"secondary": "{{ states('sensor.sparkx_i7_cfs_external_remaining') }}% left",
"multiline_secondary": true
"secondary": "{% set col = states('sensor.sparkx_i7_cfs_external_color') %}{% if col %}{{ col }} · {% endif %}{{ states('sensor.sparkx_i7_cfs_external_remaining') }}% left",
"multiline_secondary": true,
"icon_color": "{{ states('sensor.sparkx_i7_cfs_external_color') }}"
},
{
"type": "tile",