This commit is contained in:
Home Assistant Version Control
2026-09-25 04:10:30 +00:00
parent 56c80f896e
commit ad634c1b84
60 changed files with 2895 additions and 794 deletions
@@ -581,6 +581,12 @@ class TaskMateOverviewCard extends LitElement {
const perChild = availability[c.id];
if (perChild && perChild[child.id] === false) return false;
}
// Weekly target (#883): the week's quota is filled, so the chore isn't
// outstanding today. Filtering here rather than at the two call sites
// keeps it out of the progress ring as well — otherwise the ring could
// never reach 100% once a weekly chore was finished for the week.
const weeklyTarget = Number(c.weekly_target) || 0;
if (weeklyTarget > 0 && Number((child.weekly_chore_progress || {})[c.id] || 0) >= weeklyTarget) return false;
return true;
});
}