Skip to content

v1.2.6

Choose a tag to compare

@djdevil djdevil released this 25 Apr 14:11
f352420

AlertTicker Card v1.2.6

๐ŸŽต Music Player Mode + ๐ŸŒค Weather Forecast


โœจ Highlights

๐ŸŽต Music Player Mode โ€” your media player as a cinematic card

The music theme now supports a full graphical player UI when pointed at a media_player.* entity. Enable show_player_controls: true and the card transforms into a sleek, animated player:

  • ๐Ÿ–ผ๏ธ Album art as a blurred, saturated full-card backdrop
  • ๐Ÿ’ฟ Spinning vinyl thumbnail โ€” rotates while playing, pauses when stopped
  • ๐Ÿ“Š Animated equalizer bars pulse next to the "NOW PLAYING" label
  • ๐ŸŽ›๏ธ Glassmorphism controls: โฎ previous ยท โธ/โ–ถ play-pause ยท โญ next ยท ๐Ÿ”‡/๐Ÿ”Š mute
  • ๐Ÿ”Š Live volume slider โ€” gradient updates in real time while dragging
  • ๐ŸŽจ Accent color picker (music_player_color) โ€” one color drives the entire UI: buttons, glow, equalizer bars, vinyl ring, and bottom accent line
  • ๐Ÿค– Auto-setup in the visual editor โ€” selecting a media_player.* entity automatically sets the music theme and enables player mode
alerts:
  - entity: media_player.spotify_davide
    theme: music
    show_player_controls: true
    music_player_color: "#00ffb3"   # any CSS color โ€” default #e040fb

๐ŸŒค 7-Day Weather Forecast Widget

Two new clear display modes for the all-clear state:

forecast โ€” a full-width 7-day forecast grid:

  • Weather emoji + condition per day
  • High / low temperatures color-coded (blue โ†’ amber โ†’ red)
  • Precipitation probability bar for days โ‰ฅ20%
  • Today's column highlighted with frosted glass + floating emoji animation

weather_forecast โ€” alternates every 5 seconds between the current weather view (condition, temp, wind, humidity, clock) and the 7-day forecast grid with a smooth fade+slide transition

show_when_clear: true
clear_display_mode: weather_forecast   # or: forecast
clear_weather_entity: weather.home
show_widget_in_cycle: true

Both modes work in show_widget_in_cycle โ€” the card ensures both the weather panel and forecast panel are shown before advancing to the next alert.


๐Ÿ†• Also Added

Feature Description
Spanish (es) Full translation โ€” all card strings, editor labels, weather conditions, TTS messages
device_class: timestamp timers Timer themes now work with sensors whose state is an ISO expiry datetime (e.g. Alexa Media Player timer sensors)
12-hour clock (clear_clock_12h) Toggle in the editor for clock, weather_clock, weather_forecast modes
trigger_delay Alert only fires if the condition has been continuously true for N seconds โ€” like HA's for:
label_filter / area_filter Filter multi-entity alerts by HA label or area

๐Ÿ› Fixed

  • Music player accent color not applied everywhere โ€” card border, muGlow box-shadow, muPulse drop-shadow, and .mu-badge text were still hardcoded purple regardless of the chosen music_player_color. All replaced with var(--mu-accent) and color-mix().

  • split weather style missing in editor for weather_forecast mode โ€” the editor incorrectly hid the Split style option when weather_forecast mode was selected, even though the combination works correctly. The restriction has been removed.

  • Music player layout broken in vertical mode โ€” enabling vertical: true at card level applied generic flex-direction: column overrides to the player, distorting the layout. A targeted CSS reset now preserves the player's own internal layout in vertical mode.

  • Timer auto-theme not triggering in filter mode โ€” typing a timer.* pattern in the entity filter field did not auto-switch the theme to countdown. Fixed via a dedicated _alertFilterChanged editor method that mirrors the single-entity auto-theme logic.


๐Ÿ“ฆ Installation / Update

HACS

Search AlertTicker Card โ†’ Update

Manual

Replace alert-ticker-card.js and alert-ticker-card-editor.js in /config/www/ with the files from this release, then hard-reload the browser (Ctrl+Shift+R).


๐Ÿ™ Support

If this card saves you time, consider buying me a coffee โ˜•

Buy Me A Coffee