From 260329b79f46de804337a3c27528f88c8d98c6f5 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Sun, 11 Oct 2026 03:59:51 +0000 Subject: [PATCH] opencode/decisions.yaml --- opencode/decisions.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/opencode/decisions.yaml b/opencode/decisions.yaml index 866be8fb..2b6ba51e 100644 --- a/opencode/decisions.yaml +++ b/opencode/decisions.yaml @@ -739,7 +739,7 @@ notes: - homekit_controller - matter pin: true - status: active + status: superseded - id: 2026-08-29-office-plug-removed-from-z2m-as-faulty date: 2026-08-29 title: Office Plug removed from Z2M as faulty, replaced @@ -959,4 +959,24 @@ notes: - input_number.sparkx_i7_last_job_cost - automation.sparkx_i7_deduct_filament_in_spoolman_on_print_complete - sensor.sparkx_i7_used_material_length + status: superseded + superseded_by: 2026-10-11-sparkx-i7-last-job-grams-cost-persist-2 + - id: 2026-10-11-sparkx-i7-last-job-grams-cost-persist-2 + date: 2026-10-11 + title: SparkX i7 last-job grams/cost persist in two input_number helpers + decision: SparkX i7 last-job grams/cost live in + input_number.sparkx_i7_last_job_filament_weight and + input_number.sparkx_i7_last_job_cost, written by the print-complete automation + (1791477238729) on every printing→completed transition. Sparkx-i7 dashboard Filament + cards read these helpers when idle. + rationale: sensor.sparkx_i7_used_material_length is a per-job counter that resets to 0.0 + at job completion, so the derived weight/cost template sensors read 0/$0.00 when + idle and live values vanish at job end. Persisting to input_number helpers preserves + the last job's real values; input_number restores state across HA restarts. + entities: + - input_number.sparkx_i7_last_job_filament_weight + - input_number.sparkx_i7_last_job_cost + - automation.sparkx_i7_deduct_filament_in_spoolman_on_print_complete + - sensor.sparkx_i7_used_material_length + pin: true status: active