Happiness card and badge
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. 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 switched on.

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.
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
- Open the dashboard, and edit it.
- Select Add card, and search for Happiness (Spook).
- Pick your options, and select Save.
Options
| Option | What it does |
|---|---|
| Title | Shown above the card. None if left empty. |
In 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.type: custom:spook-happiness-badge
The sensors behind it
Both read the sensors of Spook's happiness, 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.Timer adjust
A card feature for the tile card of a timer. Buttons that add time to a running timer, or take time off, without starting it over.
Spook icons
Spook's ghost as icons for Home Assistant, in his moods and a few states. Type spook:ghost in any icon field, or find them in the icon picker. What they are called, and where they do not show.

