Count badge
The count badge puts the number of a count helper on your dashboard: how many lights are on, how many windows are open, how many things are unavailable. When nothing counts, the badge is gone, so it only takes room when there is something to see.
Select it, and it lists what counts right now: every light that is on, with its state. Select one to open it.
It needs Spook on your dashboards switched on, and a count helper to show.

Adding it to a dashboard
- Open the dashboard, and edit it.
- Select Add badge, and search for Count (Spook).
- Pick the count helper. Only count helpers are offered.
- Select Save.
What it shows
The name and the icon of the count helper, and the count. Give the badge a name or an icon of its own in the editor, and those win.- At zero, the badge is gone. Switch on Show at zero to keep it, with a 0.
- While Home Assistant starts, the count helper has no count yet, so the badge is gone until it has one.
- Unavailable: the badge stays, and says so. Something is off with the helper.
- While you edit the dashboard, the badge is always there, at zero too, so you can find it.
What counts
Select the badge, and a list opens with every entity that counts right now, by name, with its state. Select one to open its more info dialog. Details at the bottom opens the one of the count helper itself, with the history of the count.The list keeps up while it is open: a light that goes off drops out. When the count drops to zero and the badge goes, the list closes with it.Options
| Option | What it does |
|---|---|
| Entity | The count helper the badge shows. |
| Name | The name of the badge. The helper's own if left empty. |
| Icon | The icon of the badge. The helper's own if left empty. |
| Show at zero | Keep the badge when nothing counts, instead of it being gone. |
In YAML
type: custom:spook-count-badge
entity: sensor.living_room_lights_on
name: Lights on
icon: mdi:lightbulb-group
show_zero: true
| Key | Values | Default |
|---|---|---|
entity | A count helper | Required |
name | Any text | The helper's name |
icon | An icon | The helper's icon |
show_zero | true or false | false: gone at zero |
Time set
A card feature for the tile card of a time, a date and time helper or a datetime entity. Change the time from the tile, the date stays.
Overview
Spook brings its own themes to Home Assistant, in light and dark, including high contrast, colour blind, dimmed, midnight, classic, neon and seasonal ones. Install Spook, pick one in your profile, done. No YAML.

