Held automations card and badge
Spook can snooze an automation: off until a time, and Spook turns it back on. Or turn it on for a while: on until a time, and Spook turns it back off. This shows what is on hold right now: the card lists the automations, the badge counts them.
Both are gone when nothing is on hold. They take no room on your dashboard, and turn up the moment something is.
It needs Spook on your dashboards switched on.
The held automations card
Every automation on hold, the one that comes back first at the top. Per automation:
- Its name.
- Back at 14:30 for a snoozed one, On until 14:30 for one turned on for a while. The same words as the automation actions under a tile. A time on another day comes with the date.
- Wake for a snoozed one: it turns on now. Turn off for one turned on for a while: it turns off now.
Wake and Turn off end the hold. Spook sees the automation put back, and has nothing left to put back later. It is the same as using the automation's own toggle. Turn off lets a run that is going finish, the way Spook turns it off when the time is up.
Select an automation to open its more info dialog.
The times are written the way your profile says: your language, 12 or 24 hours, and the time zone of your browser or of Home Assistant.
Adding it to a dashboard
- Open the dashboard, and edit it.
- Select Add card, and search for Held automations (Spook).
- Pick your options, and select Save.
While you edit the dashboard, the card is always there, so you can find it again. With nothing on hold, it shows the ghost.
Options
| Option | What it does |
|---|---|
| Title | Shown above the list. None if left empty. |
| Stay when nothing is on hold | Off, the card is not there at all while no automation is on hold. On, it stays, with the ghost saying nothing is on hold. |
In YAML
type: custom:spook-held-automations-card
title: On hold
show_empty: false
| Key | Values | Default |
|---|---|---|
title | Any text | No title |
show_empty | true or false | false |
The held automations badge
A snooze icon with how many automations are on hold. Gone at zero. Hover it to see which ones, and until when.
There is nothing to select on the badge. There is no page in Home Assistant that lists what is on hold, and picking one automation out of three would be a guess. The card is where you end a hold.
Add it like any badge: edit the dashboard, select Add badge, and search for Held automations (Spook). It has no options.
type: custom:spook-held-automations-badge
Who sees what
Somebody who is not an administrator sees the automations they are allowed to see, the same ones Home Assistant shows them anywhere else. They get Wake and Turn off too: anybody who can switch an automation on and off with its toggle can end its hold.
Do you want the card for administrators only? Use the Visibility tab of the card, and show it to the users you pick.
Always up to date
The card and the badge follow Spook as it holds automations and puts them back: a snooze from a tile turns up, one that comes back goes, without reloading the page. All of Spook's cards, badges and automation actions on a page share one subscription.
While Spook restarts or reloads, the card and the badge are gone for a moment. Nothing comes back by itself while Spook is away, so they do not promise it. Spook picks up where it left off once it is back, and so do they.
Text send
A card feature for the tile card. A text box with a send button, that sets a text, adds to a to-do list, sends a notification, or has a speaker announce it.
State badge
A badge whose icon, color and text follow the state of an entity. Red with a warning icon above 25 degrees, a different icon when the door is open. Set up from dropdowns, no templates.
