429 files

This commit is contained in:
Home Assistant Version Control committed 2026-08-30 02:43:31 +00:00
1 parent 472c19bceb
commit 963cce81a7
566 files changed
+50311 -47616

No files matched your search

@@ -155,6 +155,7 @@ def _build_task_summary(
"documentation_url": task_data.get("documentation_url"),
"custom_icon": task_data.get("custom_icon"),
"nfc_tag_id": task_data.get("nfc_tag_id"),
"require_tag_scan": bool(task_data.get("require_tag_scan", False)),
# v2.20 (#83): unit for `reading`-type tasks; values live in history.
"reading_unit": task_data.get("reading_unit"),
# Spare parts: consumption links ([{part_id, quantity}]) and, on an
@@ -261,6 +262,9 @@ def _build_task_summary(
"degradation_rate": ct.get("_degradation_rate"),
"degradation_trend": ct.get("_degradation_trend"),
"degradation_r_squared": ct.get("_degradation_r_squared"),
# How many prior service cycles the rate learned from (sawtooth
# sensors — ET-4800 finding). 0 = current window only.
"prediction_cycles": ct.get("_prediction_cycles", 0),
"days_until_threshold": ct.get("_days_until_threshold"),
"threshold_prediction_date": ct.get("_threshold_prediction_date"),
"threshold_prediction_confidence": ct.get("_threshold_prediction_confidence"),