.storage/lovelace.sparkx_i7
This commit is contained in:
1 parent
82506bafa8
commit
938ee9578f
1 file changed
+6
-6
@@ -954,12 +954,6 @@
|
|||||||
},
|
},
|
||||||
"picture": "{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_1_color') | replace('#','') | lower %}{% set svg = '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"96\" height=\"96\"><rect width=\"96\" height=\"96\" rx=\"20\" fill=\"#' ~ c ~ '\" stroke=\"rgba(127,127,127,0.6)\" stroke-width=\"4\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}"
|
"picture": "{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_1_color') | replace('#','') | lower %}{% set svg = '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"96\" height=\"96\"><rect width=\"96\" height=\"96\" rx=\"20\" fill=\"#' ~ c ~ '\" stroke=\"rgba(127,127,127,0.6)\" stroke-width=\"4\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "heading",
|
|
||||||
"icon": "mdi:printer-3d-nozzle-outline",
|
|
||||||
"heading_style": "title",
|
|
||||||
"heading": "Usage"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "custom:mushroom-template-card",
|
"type": "custom:mushroom-template-card",
|
||||||
"entity": "sensor.sparkx_i7_cfs_box_1_slot_2_color",
|
"entity": "sensor.sparkx_i7_cfs_box_1_slot_2_color",
|
||||||
@@ -1002,6 +996,12 @@
|
|||||||
},
|
},
|
||||||
"picture": "{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_4_color') | replace('#','') | lower %}{% set svg = '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"96\" height=\"96\"><rect width=\"96\" height=\"96\" rx=\"20\" fill=\"#' ~ c ~ '\" stroke=\"rgba(127,127,127,0.6)\" stroke-width=\"4\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}"
|
"picture": "{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_4_color') | replace('#','') | lower %}{% set svg = '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"96\" height=\"96\"><rect width=\"96\" height=\"96\" rx=\"20\" fill=\"#' ~ c ~ '\" stroke=\"rgba(127,127,127,0.6)\" stroke-width=\"4\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "heading",
|
||||||
|
"icon": "mdi:printer-3d-nozzle-outline",
|
||||||
|
"heading_style": "title",
|
||||||
|
"heading": "Usage"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "tile",
|
"type": "tile",
|
||||||
"entity": "input_number.sparkx_i7_spoolman_length_checkpoint",
|
"entity": "input_number.sparkx_i7_spoolman_length_checkpoint",
|
||||||
|
|||||||
Reference in new issue
Block a user