197 files

This commit is contained in:
Home Assistant Version Control
2026-08-21 18:53:37 +00:00
parent 89d9f5e49b
commit 383e9ed04e
197 changed files with 4386 additions and 1837 deletions
@@ -29,7 +29,11 @@ export interface HistoryContext {
readingDelta?: (entry: HistoryEntry) => number | null;
}
const _FILTER_TYPES = ["completed", "skipped", "missed", "reset", "triggered"] as const;
// Every HistoryEntryType is filterable (drift audit 2026-08: the repair-flow
// types were missing, so their entries could not be isolated). Chips only
// render for types present in the task's history, so the two rare ones cost
// nothing on normal tasks.
const _FILTER_TYPES = ["completed", "skipped", "missed", "reset", "triggered", "trigger_replaced", "trigger_removed"] as const;
export function renderHistoryFilters(task: MaintenanceTask, ctx: HistoryContext) {
const L = ctx.lang;