v0.6.7 — Path-based cache busting for the Lovelace card
Changed
- The Lovelace card is now deployed under a content-hashed filename (
/config/www/rain-warner-card.<hash>.js) and the registered Lovelace resource URL points at that exact path — no more?v=<hash>query string. Aggressive PWA / mobile-app caches (notably the HA Companion app on iOS) sometimes ignore query parameters when matching cached responses, so the only reliable way to force a re-fetch is a different filename. deploy.shnow also removes stale hashed copies and the legacy unhashed file fromwww/on every deploy so nothing piles up over time.tools/ha_update_card_resource.pynow takes a stem URL (/local/rain-warner-card) instead of a full filename and reconciles whichever variant is currently registered (legacy unhashed, old query-string cache-bust, or older hashed path) into the new hashed path. Idempotent on repeat runs.- Bumped
CARD_VERSIONin the card source to1.0.1so the console banner reflects the change.
Full Changelog: v0.6.6...v0.6.7