opencode/decisions.yaml

This commit is contained in:
Home Assistant Version Control
2026-09-06 06:29:03 +00:00
parent 1307020fdf
commit 0c77805995
+24 -1
View File
@@ -795,7 +795,8 @@ notes:
integrations: integrations:
- rest - rest
- template - template
status: active status: superseded
superseded_by: 2026-09-06-octoprint-height-widget-uses-clean-2
- id: 2026-09-06-nest-snapshot-custom-integration - id: 2026-09-06-nest-snapshot-custom-integration
date: 2026-09-06 date: 2026-09-06
title: nest_snapshot custom integration abandoned title: nest_snapshot custom integration abandoned
@@ -814,3 +815,25 @@ notes:
integrations: integrations:
- nest_snapshot - nest_snapshot
status: active status: active
- id: 2026-09-06-octoprint-height-widget-uses-clean-2
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
pin: true
status: active