v1.2.7
AlertTicker Card v1.2.7
π΄ Persistent Alerts + π± Mobile Hold Fix
β¨ Highlights
π΄ Persistent Alerts β stay visible until manually dismissed
A new persistent: true per-alert flag changes how the alert lifecycle works: once the trigger condition becomes true, the alert latches on and stays visible even after the sensor returns to idle. The only way to clear it is to explicitly dismiss it.
When persistent is enabled:
- The π€ snooze button is replaced by a β Dismiss button (smaller, red-tinted, always visible)
- Swiping left also dismisses the alert
- The latch survives page reloads (stored in
localStorage) - Works in all card layouts: standard,
large_buttons, vertical, and vertical + large_buttons
alerts:
- entity: binary_sensor.smoke_detector
state: "on"
persistent: true
message: "Smoke detected!"
theme: fireIdeal for alarms, critical safety sensors, and any alert you want to ensure is acknowledged β not just silenced by a snooze.
π Also Added
| Feature | Description |
|---|---|
weather_forecast_interval |
Set the alternation speed (1β60 s) for weather_forecast mode β configurable in the editor, default 5 s |
clear_display_mode: weather_forecast
weather_forecast_interval: 10 # seconds per panel, default 5π Fixed
- Hold action not firing on mobile (#95) β on touch devices, the browser fires a
pointercancelevent as soon as it takes over the touch gesture for scrolling, silently cancelling the hold timer before it expires. Fixed by callinge.preventDefault()in_onPointerDownwhen a hold action is configured for the alert. Standard tap, double-tap and swipe remain unaffected.
π¦ 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 β
