Skip to content

fix(cards): pre-reader tiles lock a recurring chore in its cooldown - #1188

Merged
tempus2016 merged 1 commit into
mainfrom
fix/prereader-cooldown-tiles
Nov 4, 2026
Merged

tempus2016 merged 1 commit into
mainfrom
fix/prereader-cooldown-tiles

Conversation

@tempus2016

Copy link
Copy Markdown
Owner

fix(cards): pre-reader tiles lock a recurring chore in its cooldown

With pre_reader: true, a recurring chore waiting to reset stayed a live tile:
the tile checked a flag nothing ever set, so a tap went through. The same
was true of a sibling's first-come claim, a filled weekly target, a missed
time window, a chore not due today (due_days_mode: dim) and a set time that
isn't open.

The tile now takes its locks from the same helper as the classic row,
_choreLocks, so it is greyed out and does nothing when tapped in exactly the
cases the standard row refuses. A chore ticked today keeps its undo. The
dead _isAvailableForChild flag is gone, and the wiki no longer lists
pre-reader tiles as ignoring first_come_claimed_mode / recurrence_done_mode.

docs(wiki): pre-reader tiles honour the first-come claimed lock

The first-come section still listed pre-reader tiles as ignoring the lock
after the tile fix; only timed-task cards are left uncovered there.

Testing

  • Unit and frontend tests for this change are included in the diff; the whole batch passes the full suite.
  • Checked on the dev Home Assistant instance as part of the v7.7.1 pre-release gate (desktop and 360/375/393/768 phone/tablet widths).

@github-actions github-actions Bot added documentation Improvements or additions to documentation cards Lovelace cards / frontend (www/*.js) tests Test suite labels Nov 4, 2026
@tempus2016
tempus2016 merged commit 570269d into main Nov 4, 2026
17 of 18 checks passed
@tempus2016
tempus2016 deleted the fix/prereader-cooldown-tiles branch November 4, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cards Lovelace cards / frontend (www/*.js) documentation Improvements or additions to documentation tests Test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant