automations.yaml
This commit is contained in:
+3
-1
@@ -4845,7 +4845,9 @@
|
||||
Job: {{ gcode_file if gcode_file not in ['','unknown','unavailable'] else (state_attr('sensor.sparkx_i7_print_status','file') | default('', true) | string).split('/')[-1] }}
|
||||
Needs {{ job_g | round(1) }} g ({{ length_cm | round(1) }} cm) · used {{ used_g }} g · {{ rem_g }} g left to print
|
||||
Slicer: {{ (mc.list | join(', ')) if mc.list else 'material unknown' }} · {{ ('single colour #' ~ (gcol | upper)) if single else ((gc.list | length) ~ ' colours') }}
|
||||
{% if job_g <= 0 %}Cannot verify: slicer filament estimate not available yet.{% if ns.loaded %} Loaded: {{ ns.loaded | join('; ') }}.{% endif %}
|
||||
{% if job_g <= 0 %}Cannot verify: slicer filament estimate not available yet.{% if ns.loaded %}
|
||||
Loaded:
|
||||
- {{ ns.loaded | join('\n- ') }}{% endif %}
|
||||
{% elif single and gcol in cols.list %}
|
||||
{% if ns.short %}NOT ENOUGH filament:
|
||||
- {{ ns.short | join('\n- ') }}
|
||||
|
||||
Reference in New Issue
Block a user