393 files

This commit is contained in:
Home Assistant Version Control committed 2026-09-27 17:16:54 +00:00
1 parent b05b7a897e
commit 39d97ac2db
404 files changed
+54006 -11034

No files matched your search

@@ -30,7 +30,7 @@
* On older HA versions the registration is a silent no-op.
*/
import { STATUS_ICONS } from "./status-constants";
import { ACTIONABLE_STATUSES, STATUS_ICONS } from "./status-constants";
import { loadHistoryEntryDraft } from "./helpers/history-draft";
interface MaintenanceObjectResp {
@@ -150,7 +150,9 @@ const DUE_DATE_VIEWS: Array<{
}> = [
{
title: "Overdue",
icon: "mdi:alert-circle",
// The shared overdue icon — "mdi:alert-circle" is the DUE-SOON one, the
// exact drift status-constants.ts was created to end (DRY audit 2026-09-26).
icon: STATUS_ICONS.overdue,
path: "overdue",
filter: { filter_due_max_days: -1 },
matches: (d) => d <= -1,
@@ -326,7 +328,7 @@ function overviewView(summaryIds: SummaryEntityIds = {}, counts: SummaryCounts =
makeCardSection({
type: "custom:maintenance-supporter-card",
show_header: false,
filter_status: ["overdue", "triggered", "due_soon"],
filter_status: [...ACTIONABLE_STATUSES],
}),
],
};