Skip to content

v1.3.6.3

Choose a tag to compare

@djdevil djdevil released this 09 Jul 17:12
40dfbd0

AlertTicker Card — v1.3.6.3

🩹 Patch Fixes

disable_animation / clear_disable_animation — animations still playing with show_when_clear: true (#172)

Setting clear_disable_animation: true had no effect when the card was in the show_when_clear mode. All weather widget animations (sun rotation, halo float, cloud drift, shooting star, snowflakes, etc.) continued to play regardless of the flag.

Root cause: The show_when_clear render path wrapped the weather widget in a plain <div> with no at-fold-wrapper class. All animation-play-state: paused rules are scoped to .at-fold-wrapper.atc-no-anim .element — without that ancestor class the selector never matched and atc-no-anim was never effective.

Fix: The wrapper div in the show_when_clear path now carries the at-fold-wrapper class, and atc-no-anim is added to it when disable_animation or clear_disable_animation is set. The same check is also patched for the show_widget_in_cycle slide path.

No configuration changes needed.


Weather widget stops displaying after HA restart (#181)

After a Home Assistant restart, the weather forecast widget went blank and required a browser refresh to recover.

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.

No configuration changes needed.


disable_animation / clear_disable_animation — sun, halo, shooting star, and snowflakes still animating (#172)

Four weather elements were absent from the animation-play-state: paused !important rule: .sun-core (pulsing glow), .sun-halo (floating halo), .w-shooting-star (shooting star trail), .w-snowflake (falling snowflakes). All four are now included.

No configuration changes needed.


📦 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