Replies: 2 comments 3 replies
-
|
Hi @dukeseb! 👋 This is expected behaviour without persistent: true. Here's what's happening: First load — the entity transitions from its previous state into the trigger state while the card is initialising → the card catches the change and shows the banner. alerts:
With persistent: true the card checks the entity's current state immediately on load and shows the alert if the condition is already met — no transition required. Could you share your current YAML config? If persistent: true alone doesn't resolve it, there may be something else in the setup worth looking at (e.g. on_change mode, conditions, or trigger delay). |
Beta Was this translation helpful? Give feedback.
-
|
There are actually two likely causes for this on a kiosk — accidental snooze and the browser cache/service worker. Cause 1 — Accidental snooze On a wall-mounted touchscreen, any stray tap near the 💤 button silences the alert for hours. The snooze state is saved in the browser's localStorage, so it survives page reloads. The alert won't show again until the snooze expires, even if the condition is still active. Fix — disable the snooze button entirely: type: custom:alert-ticker-card Home Assistant's Lovelace frontend uses an aggressive service worker. When a kiosk wakes from sleep or does a soft reload (equivalent to F5), the page is often served from the service worker cache with stale entity states. The card evaluates those stale states at render time, sees no active condition, and shows nothing. A fraction of a second later the WebSocket reconnects and sends the real states — but the initial evaluation has already passed. This explains the "works the first couple of times then stops" pattern: the first loads happen to catch a live WebSocket connection; later loads hit the cache before reconnecting. Fixes to try in order: Force a hard reload — in Fully Kiosk Browser (or whichever kiosk app you use) make sure the reload action is a full/hard reload, not a standard browser refresh. In Fully Kiosk this is the "Reload URL" action, not "Reload Page". Add a short load delay — if your kiosk software supports it, add a 2–3 second delay before the dashboard becomes interactive after waking, to give the WebSocket time to reconnect and push fresh states before the card renders. Use persistent: true with buttons hidden — if the cache issue persists, this is the most reliable fallback. With persistent: true the card re-evaluates the condition on every state update after load, so even if it misses the initial render it will catch up within seconds. Since you're on a kiosk with no one manually dismissing anything, the auto-dismiss-on-condition-clear behavior you want still works the same way: type: custom:alert-ticker-card
Also note the operator: null on your water sensor — this was only triggering when the value was exactly 35. Changed to operator: "<=" so it fires for any value at or below 35%. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Ok, so I really like this alert banner, but I am running into a problem on my kiosks where when I first load the kiosk when I walk by it I get the banner but when I come back and reload it again later the entity never changed but the banner no longer appears.
Anyone have any ideas?
Beta Was this translation helpful? Give feedback.
All reactions