Skip to content

v1.2.8

Choose a tag to compare

@djdevil djdevil released this 26 Apr 15:24
bceb668

AlertTicker Card v1.2.8

πŸ—‚οΈ Grouped Alerts + Alexa Multiroom TTS


✨ Highlights

πŸ—‚οΈ Grouped Alerts β€” collapse many sensors into one card

When a filter-mode alert (device class, entity filter, label/area) has too many active entities, it can now automatically collapse into a single summary slide instead of cycling through each one individually.

alerts:
  - device_class: battery
    operator: "<"
    state: "30"
    theme: battery
    group: true
    group_min: 3                             # collapse when β‰₯3 entities are active
    group_message: "{count} batteries low"   # summary text
    group_expanded_message: "{name}: {state}%"  # per-entity text when expanded

How it works:

  • When active entities reach group_min, a summary card appears showing the message, all entity names, and the total count with a β–Ό indicator
  • Tap the card to expand into individual alert slides β€” each shows the full per-entity alert as if it were a standalone alert
  • A β—€ chip at the bottom of each expanded slide collapses back to the group summary
  • Swipe left on the group slide β†’ snoozes all members at once
  • Swipe left on an individual expanded slide β†’ snoozes that entity only
  • When fewer than group_min entities are active, individual slides are shown as usual

Message placeholders:

Field Available placeholders
group_message {count} Β· {names} Β· {{ states('sensor.x') }} Β· any HA Jinja2
group_expanded_message {state} Β· {name} Β· {entity} Β· {device} Β· {{ states('sensor.x') }} Β· any HA Jinja2

Editor: all options appear in the new πŸ—‚οΈ Raggruppa alert section, visible only for filter-mode alerts (device class / entity filter / label / area).

Perfect for battery monitors, door/window sensors, motion detectors β€” any scenario where a fleet of similar sensors can trigger at once.


πŸ†• Also Added

Feature Description
tts_notify_type Set the notify type per-alert for TTS services. Use announce for Alexa speaker groups / multiroom setups (default: tts). Configurable in the editor.
tts: true
tts_notify_service: alexa_media_zona_giorno
tts_notify_type: announce   # default: tts

πŸ› Fixed

  • Config error when enabling group alerts β€” active was declared const in _computeActiveAlerts but reassigned in the grouping pass, throwing TypeError: Assignment to constant variable the moment the feature was turned on. Changed to let.
  • Clock/date blank on first render β€” clock showed nothing for up to 1 second after mount; fixed by populating _clockTime/_clockDate synchronously before the interval starts.

πŸ“¦ 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