---
title: "Held automations card and badge"
description: "A card with the automations Spook snoozed or turned on for a while, and when they come back, with a button to end it early. And a badge with how many there are. Both gone when nothing is on hold."
canonical_url: "https://spook.boo/held-automations-card"
---
# Held automations card and badge

> A card with the automations Spook snoozed or turned on for a while, and when they come back, with a button to end it early. And a badge with how many there are. Both gone when nothing is on hold.

Spook can [snooze](https://spook.boo/automation#snooze) an automation: off until a time, and Spook turns it back on. Or [turn it on for](https://spook.boo/automation#turn-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](https://spook.boo/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](https://spook.boo/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

1. Open the dashboard, and edit it.
2. Select **Add card**, and search for **Held automations (Spook)**.
3. 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

```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.

```yaml
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.


## Sitemap

See the full [sitemap](https://spook.boo/sitemap.md) for all pages.
