opencode/decisions.yaml, zigbee2mqtt/state.json

This commit is contained in:
Home Assistant Version Control
2026-10-11 03:57:10 +00:00
parent 96522aaf6b
commit 00c0e8b19a
2 changed files with 29 additions and 11 deletions
+18
View File
@@ -942,3 +942,21 @@ notes:
- telegram_bot
pin: true
status: active
- id: 2026-10-11-sparkx-i7-last-job-grams-cost-persist
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
status: active