opencode/decisions.yaml
This commit is contained in:
@@ -87,3 +87,27 @@ notes:
|
|||||||
- octoprint
|
- octoprint
|
||||||
- mqtt
|
- mqtt
|
||||||
status: active
|
status: active
|
||||||
|
- id: 2026-08-07-printer-totals-history-stats-via-config
|
||||||
|
date: 2026-08-07
|
||||||
|
title: "Printer totals: history_stats via config flow (HA 2026.8: no YAML)"
|
||||||
|
decision: Print totals (print time + counts, today/week/7d) are history_stats config-flow
|
||||||
|
helpers (sensor.octoprint_printer_*), shown in the Totals section of the
|
||||||
|
printer-stats/print dashboard. history_stats no longer supports YAML in HA 2026.8 —
|
||||||
|
create helpers via config flow/UI only, never a configuration.yaml entry.
|
||||||
|
rationale: Session paused 2026-08-06 to continue later. YAML history_stats was rejected by
|
||||||
|
core with "history_stats does not support YAML setup", so all six sensors were
|
||||||
|
created via config flow and verified live; the Totals dashboard section is committed
|
||||||
|
(config hash 57e4ba20d169bbf3, render path printer-stats/print). Config-flow helpers
|
||||||
|
need no restart.
|
||||||
|
entities:
|
||||||
|
- sensor.octoprint_printer_print_time_today
|
||||||
|
- sensor.octoprint_printer_print_time_this_week
|
||||||
|
- sensor.octoprint_printer_print_time_last_7_days
|
||||||
|
- sensor.octoprint_printer_prints_today
|
||||||
|
- sensor.octoprint_printer_prints_this_week
|
||||||
|
- sensor.octoprint_printer_prints_last_7_days
|
||||||
|
integrations:
|
||||||
|
- history_stats
|
||||||
|
- octoprint
|
||||||
|
- mqtt
|
||||||
|
status: active
|
||||||
|
|||||||
Reference in New Issue
Block a user