opencode/decisions.yaml

This commit is contained in:
Home Assistant Version Control
2026-09-06 06:26:34 +00:00
parent 9f27facc27
commit 0290d1d268
+21
View File
@@ -774,3 +774,24 @@ notes:
- zigbee2mqtt - zigbee2mqtt
- matter - matter
status: active status: active
- id: 2026-09-06-octoprint-height-widget-uses-clean
date: 2026-09-06
title: OctoPrint height widget uses clean template sensor, not raw REST sensor
decision: OctoPrint height widget must point at sensor.octoprint_height_progress_clean. Do
not delete this template sensor or repoint the widget to the raw REST sensor — its
float32 total attribute and display_precision 0 default round the widget display.
rationale: Widget shows state + total attribute in one tile. The REST sensor's total
attribute is a float32 artifact (75.5999984741211) from the DisplayLayerProgress
plugin JSON and cannot be transformed at source; its display_precision 0 default
rounds the widget current value up (85.6 -> 86). The YAML template sensor
(configuration.yaml template block) re-exposes state and total rounded to 1 decimal,
with its own display_precision set to 1.
entities:
- sensor.octoprint_height_progress_clean
- sensor.octoprint_height_progress
files:
- configuration.yaml
integrations:
- rest
- template
status: active