---
title: "Happiness card and badge"
description: "Spook's happiness on your dashboard. The ghost in his mood, the number, and the six lenses with what there is to look at. And a badge with the ghost and the number."
canonical_url: "https://spook.boo/happiness-card"
---
# Happiness card and badge

> Spook's happiness on your dashboard. The ghost in his mood, the number, and the six lenses with what there is to look at. And a badge with the ghost and the number.

Spook keeps an eye on your whole home: what you built, what runs, what is up to date, your backups, how safe it is, and the system under it. How happy that makes him is a number from 0 to 100, with a mood on top. What goes into that number, check by check, is on [Spook's happiness](https://spook.boo/happiness). The card and the badge put that on your dashboard, with the ghost himself showing the mood.

A low number is no verdict on your home. It is a list of things to do, and the card shows where they are.

It needs [Spook on your dashboards](https://spook.boo/dashboards) switched on.

![The happiness card: the ghost happy, 88 percent, and six lenses, two of them with something to look at.](https://spook.boo/images/screenshots/en/light/happiness-card.webp)

## The happiness card

At the top, the ghost in his mood, the number, and the mood in words: over the moon, happy, okay, uneasy or spooked.

Under it, the six lenses Spook looks through, each with a number of its own:

- **Configuration**: whether what you built points at things that exist.
- **Reliable**: whether everything that should run, runs.
- **Up to date**: how far Home Assistant is behind, and what waits for a restart.
- **Recoverable**: your backups.
- **Secure**: what Home Assistant and its apps say about safety.
- **System**: the disk, the database and the machine under it.

Every check in each lens, and what it weighs, is under [Lenses](https://spook.boo/happiness#lenses).

A lens with checks that fail says how many there are to look at. A lens with nothing it can score yet says **Not scored**.

Select the number to open the more info dialog of Spook's happiness, with its history. Select a lens to open the one of that lens.

### Right after a start

Spook gives no number until your home has settled after a start: every rule has had a look, and no new entities turn up anymore. Until then, the card shows the ghost looking around, and says he is still getting to know your home. That takes a few minutes, at most a quarter of an hour. Select him in the meantime, and the more info dialog of Spook's happiness opens all the same, as long as that sensor is there.

Once he has looked, a home where nothing counts yet has no number and no mood. The card then says **Not scored**, and still shows the lenses.

### The ghost

He plays his mood for a few seconds when the card shows up, and again when his mood changes. Then he rests, so a dashboard that is open all day does not have a ghost bouncing in the corner of your eye. Hover him to see it again.

When your device asks for less motion, he does not move at all. His face still follows the mood.

### Adding it to a dashboard

1. Open the dashboard, and edit it.
2. Select **Add card**, and search for **Happiness (Spook)**.
3. Pick your options, and select **Save**.

### Options

| Option | What it does |
| --- | --- |
| **Title** | Shown above the card. None if left empty. |

### In YAML

```yaml
type: custom:spook-happiness-card
title: Spook's happiness
```

| Key | Values | Default |
| --- | --- | --- |
| `title` | Any text | No title |

## The happiness badge

The ghost in his mood, and the number next to him. Hover it for the mood in words. Select it to open the more info dialog of Spook's happiness.

Right after a start, it is only the ghost, looking around.

Add it like any badge: edit the dashboard, select **Add badge**, and search for **Happiness (Spook)**. It has no options.

```yaml
type: custom:spook-happiness-badge
```

## The sensors behind it

Both read the [sensors of Spook's happiness](https://spook.boo/happiness#sensors), on the **Happiness** device of Spook. They find those by what Spook made them, not by their entity ID. Rename them, and the card still finds them.

Disable a lens sensor, and the card leaves that lens out. Disable the mood sensor, and the mood in words is gone, but the ghost still wears the face that goes with the number. Leave only the happiness sensor itself, and the card finds it once Spook has had his first look after a start. Until then, it says it cannot find the sensors. Disable all of them, and that is what it keeps saying.

## Who sees what

Everybody sees the same, administrator or not. Nothing on the card or the badge needs admin rights.

## Always up to date

The card and the badge follow the sensors as they change, without reloading the page. They only draw again when Spook's happiness changes. A light turning on somewhere in the house does not make them look again.


## Sitemap

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