Skip to content

v1.3.9.9.6 — Battery3D theme + clock hide seconds + non-admin sync fix

Choose a tag to compare

@djdevil djdevil released this 30 Aug 10:48
· 1 commit to main since this release

AlertTicker Card — v1.3.9.9.6

🎉 What's new

🔋 New theme battery3d — dynamic battery visualisation

A brand-new theme that turns any battery entity into a visually rich indicator:

  • CSS battery icon that fills based on the entity value (0–100%)
  • Horizontal progress bar below the message
  • Dynamic colours — 🟢 green (>60%) / 🟠 orange (21–60%) / 🔴 red (≤20%)
  • Optional charging support — hook up a binary_sensor.*_charging entity and get an animated ⚡ lightning bolt inside the battery icon plus cyan colour override while charging

Works for phones, tablets, laptops, robot vacuums, EVs, IoT sensors, HA Companion apps — anything with a 0–100 percentage.

- entity: sensor.iphone_battery_level
  operator: "<="
  state: "100"                # always active — keeps the widget visible
  message: "iPhone"
  theme: battery3d
  charging_entity: binary_sensor.iphone_is_charging   # optional

The classic battery theme is still there — pick whichever fits your dashboard best.


⏱ Cleaner clock — hide seconds if you don't need them

Thanks to a community contribution from @highergroundstudio, the all-clear clock widget now has a Show seconds toggle. If you'd rather see just 15:58 instead of the constantly-ticking 15:58:47, flip it off:

clear_clock_show_seconds: false

Default stays on so existing dashboards look identical after the upgrade. Editable from the visual editor (All Clear → clock section), translated to all 12 supported languages.


🐛 Fixes

Cross-device sync no longer floods HA logs for non-admin users (#214)

The v1.3.9.9.5 cross-device sync feature was firing repeated Unauthorized errors in Home Assistant's server logs for non-admin dashboard users. That's because HA restricts custom-event WebSocket subscriptions to admin/owner accounts only, and the card was subscribing unconditionally.

Now the card checks the user's admin status before subscribing or firing sync events:

  • 🟢 Admin users — cross-device sync works exactly as before
  • 🟢 Non-admin users — silent skip, no log noise. Snooze/dismiss falls back to local-only (identical to pre-1.3.9.9.5 behaviour, no regression)

If you were using a log-filter automation as a workaround, you can safely remove it after this update.


📥 How to upgrade

  • Via HACS: open HACS → Frontend → AlertTicker Card → Update
  • Manual: replace alert-ticker-card.js and alert-ticker-card-editor.js in your www/ folder

After updating, clear your browser cache (Ctrl+F5) so the new theme and toggle appear correctly.


🙏 Thanks

If this card is useful and saves you time, consider buying me a coffee — it's the best way to support continued development. ☕

Buy Me A Coffee