Skip to content

v1.4.12

Choose a tag to compare

@djdevil djdevil released this 01 May 11:37
8c40616

πŸš€ Person Tracker Card v1.4.12

✨ What's New

⏱️ Travel time in hours:minutes format

Travel time is now displayed as Xh Ym when β‰₯ 60 minutes (e.g. 3h 27m instead of 207 min).

  • Sensors returning a plain number (minutes) continue to work unchanged
  • Template sensors returning h:mm or HH:MM:SS strings are now parsed correctly β€” previously parseFloat("3:27") silently truncated to 3 min
  • All 11 layouts updated
  • Modern layout ring splits across two lines: 3h / 27m

πŸ“ modern_distance_max β€” new config option

Sets the maximum distance for the Modern layout distance progress ring, analogous to modern_travel_max_time. The color thresholds (green β†’ orange β†’ red) scale proportionally with this value.

modern_distance_max: 50   # default: 100

Configurable from the visual editor under Layout β†’ Modern Options.


πŸ› Bug Fixes

Classic layout β€” chips no longer overflow on narrow cards

Absolutely positioned chips (distance, battery, travel, etc.) could extend beyond the card edge on narrow columns. Added overflow: hidden to the card content container so all chips are always clipped within bounds.

Tip: Use distance_position: top-right (or the visual editor under Layout β†’ Positions β†’ Distance) to anchor the distance chip to the right edge of the card.

Modern layout β€” rings wrap instead of overflowing

When many rings were visible (battery + watch + device 2 + distance + travel) on a narrow card, the rings row could extend beyond the right edge of the card. Rings now wrap to a second row instead of overflowing.

Modern layout β€” modern_width now works

The modern_width config option was defined in the editor but was never applied to the card. It now sets a max-width on the card when configured.


πŸ”— Related issues

  • Fixes #35 β€” Distance right aligned / rings overflow on narrow cards
  • Fixes #36 β€” Travel time h:mm template sensor not parsed correctly
  • Fixes #37 β€” modern_distance_max editor field missing

Full changelog: CHANGELOG.md


If you find this card useful, consider buying me a coffee β˜•

Buy Me A Coffee