3 files
This commit is contained in:
+17
-18
@@ -702,9 +702,7 @@
|
||||
"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",
|
||||
@@ -714,6 +712,18 @@
|
||||
"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",
|
||||
"multiline_secondary": true,
|
||||
"icon_color": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_1_color') }}"
|
||||
},
|
||||
{
|
||||
"type": "custom:mushroom-template-card",
|
||||
"grid_options": {
|
||||
"columns": 6
|
||||
},
|
||||
"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",
|
||||
"multiline_secondary": true,
|
||||
"icon_color": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_2_color') }}"
|
||||
@@ -724,8 +734,8 @@
|
||||
"columns": 6
|
||||
},
|
||||
"icon": "mdi:printer-3d-nozzle",
|
||||
"name": "Slot 2",
|
||||
"primary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_2_filament') }}",
|
||||
"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",
|
||||
"multiline_secondary": true,
|
||||
"icon_color": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_3_color') }}"
|
||||
@@ -736,22 +746,11 @@
|
||||
"columns": 6
|
||||
},
|
||||
"icon": "mdi:printer-3d-nozzle",
|
||||
"name": "Slot 3",
|
||||
"primary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_3_filament') }}",
|
||||
"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",
|
||||
"multiline_secondary": true,
|
||||
"icon_color": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_4_color') }}"
|
||||
},
|
||||
{
|
||||
"type": "custom:mushroom-template-card",
|
||||
"grid_options": {
|
||||
"columns": 6
|
||||
},
|
||||
"icon": "mdi:printer-3d-nozzle",
|
||||
"name": "Slot 4",
|
||||
"primary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_4_filament') }}",
|
||||
"secondary": "{{ states('sensor.sparkx_i7_cfs_box_1_slot_4_remaining') }}% left",
|
||||
"multiline_secondary": true
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user