Skip to content

v1.3.6.4

Choose a tag to compare

@djdevil djdevil released this 09 Jul 17:54
6eec269

AlertTicker Card — v1.3.6.4

🩹 Patch Fixes

Root cause — two separate problems:

  1. WebSocket reconnect not detected: When HA restarts, the weather/subscribe_forecast WebSocket subscription is killed server-side. The subscribe guard (entity !== forecastEntity) blocked re-subscription after reconnect since the entity name hadn't changed. Forecast data became permanently stale or blank.

  2. Card remount not triggering re-subscribe: disconnectedCallback nulled _forecastUnsub but left _forecastEntity set, blocking re-subscription on Lovelace remounts (dashboard navigation, panel reload).

Fix: hass.connection.socket is tracked — when it becomes a new object (new WebSocket after HA reconnects), _forecastEntity is reset to force a fresh subscription. _forecastEntity is also reset in disconnectedCallback for clean remounts.


📦 Update Instructions

  1. Download alert-ticker-card.js and alert-ticker-card-editor.js
  2. Replace both files in your www/ folder (or the path you set in Resources)
  3. Hard-reload the browser: Ctrl+Shift+R / Cmd+Shift+R

HACS users: update from the HACS panel — no manual steps needed.


Full changelog: CHANGELOG.md


☕ If this card saves you time, consider buying me a coffee — it keeps the updates coming!

Buy Me A Coffee