A single-fix patch release for the Points Display card.
Fixed
"Rank Medals" now hides every medal, including first place (#870, fixes #869)
Turning Rank Medals off in the TaskMate — Points Display card editor left the leading child's gold medal on screen. Every other medal disappeared as expected, so with two children configured it looked like the toggle removed the silver and kept the gold.
The cause was in the card's multi-child grid: the top child's tile drew its medal from a separate code path that hard-coded the gold glyph and never checked the show_rank setting, so it rendered regardless of the toggle. The leader's tile now goes through the same gated lookup as every other tile.
What changes for you: if you had Rank Medals switched off and were still seeing 🥇 on the leading child, it will be gone after updating. Nothing changes when the toggle is on — 🥇 🥈 🥉 render exactly as before, in single, multi-child and cumulative modes and across all five card designs.
No configuration changes are needed. If the card still looks the same after updating, hard-refresh your browser (Ctrl+Shift+R, or Cmd+Shift+R on a Mac) to clear the cached card JavaScript.
Thanks to @fonikz for the clear report, including the detail that only the silver medal disappeared — that narrowed it down immediately.
Also in this release
- New regression test (
tests/test_points_display_rank_medals.py) asserting that every medal render site in the Points Display card is gated onshow_rank, and that the gold glyph only ever comes from the shared medal table. The second, hand-written copy of that glyph is exactly what let this bug slip past the toggle. - Internal repository housekeeping (#866, #867) — no user-facing effect.
Upgrading
HACS → TaskMate → Redownload → 5.6.1, then restart Home Assistant and hard-refresh your browser.
Full changelog: v5.6.0...v5.6.1