automations.yaml

This commit is contained in:
Home Assistant Version Control
2026-10-14 17:37:30 +00:00
parent 44118bd4f4
commit 90f73b4f4e
+3 -1
View File
@@ -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- ') }}