opencode/decisions.yaml, zigbee2mqtt/state.json
This commit is contained in:
@@ -1018,3 +1018,26 @@ notes:
|
||||
- spoolman
|
||||
pin: true
|
||||
status: active
|
||||
- id: 2026-10-12-sparkx-i7-cancel-error-deduct-filament
|
||||
date: 2026-10-12
|
||||
title: SparkX i7 cancel/error deduct filament but leave last-job helpers
|
||||
decision: SparkX i7 cancellation (stopped) and error prints now also deduct the used
|
||||
filament from Spoolman, not just completed ones. Cancel/error intentionally do NOT
|
||||
update input_number.sparkx_i7_last_job_filament_weight / _last_job_cost — those stay
|
||||
on the last completed print (dashboard "last job" cards).
|
||||
rationale: "The cancel path is printing → processing → stopped, so the old from: printing
|
||||
trigger never fired and the pending filament was never deducted. The new
|
||||
stopped/error triggers are gated on a non-empty latch so they only run for a real
|
||||
in-progress print. Last-job helpers were deliberately left complete-only (option A)
|
||||
so the idle dashboard cards keep meaning the last completed print rather than a
|
||||
partial cancelled one."
|
||||
entities:
|
||||
- input_number.sparkx_i7_last_job_filament_weight
|
||||
- input_number.sparkx_i7_last_job_cost
|
||||
- input_text.sparkx_i7_print_spool_latch
|
||||
- input_number.sparkx_i7_slot_1_grams
|
||||
files:
|
||||
- automations.yaml
|
||||
integrations:
|
||||
- spoolman
|
||||
status: active
|
||||
|
||||
Reference in New Issue
Block a user