---
title: "Alert"
description: "Spook tells you when an alert has gone quiet for the wrong reason, like watching an entity that no longer exists, or notifying through an action Home Assistant does not have."
canonical_url: "https://spook.boo/alert"
---
# Alert

> Spook tells you when an alert has gone quiet for the wrong reason, like watching an entity that no longer exists, or notifying through an action Home Assistant does not have.

The alert integration in Home Assistant watches a single entity. When that entity enters a state you named, it keeps notifying you at an interval until somebody acknowledges it. The classic use is the garage door that is still open, or the freezer that is getting warm.

Alerts are configured in YAML only. You set one up once and forget about it, which is the point. It also means you do not notice when one stops working.

Spook keeps an eye on them, and tells you when one goes quiet for the wrong reason.

## Repairs

Spook looks through your alerts for ones that can no longer do their job, and tells you in the repairs dashboard. Each repair names the alert and what is wrong with it.

Alerts live in YAML, so fixing one means editing the `alert:` section of your configuration and restarting Home Assistant. Spook looks again once the alert is loaded, and takes the repair away by itself. New to repairs? Follow [Fix your first repair](https://spook.boo/fix-your-first-repair).

### Unknown watched entity

An alert watches an entity that no longer exists, usually because it was renamed or removed. The alert can never fire again, and it looks exactly like an alert with nothing to report.

**How to fix it:** In the `alert:` section of your configuration, point the `entity_id` of that alert at an entity that exists, and restart Home Assistant. The repair disappears by itself once it is fixed.

**How Spook checks this**

An alert only ever watches the one entity named in its `entity_id`. Spook looks at every alert for the entity it watches. When that entity is gone, it raises a repair that names the alert and the missing entity.

That is what makes this one sneaky: an alert with nothing to report and an alert watching a ghost look exactly the same.

### Unknown notifiers

An alert sends its notifications through an action Home Assistant does not have. The alert still fires, repeats and can be acknowledged, but the notification goes nowhere.

**How to fix it:** In the `alert:` section of your configuration, correct or remove the entries in the `notifiers:` list of that alert, and restart Home Assistant. The repair disappears by itself once it is fixed.

**How Spook checks this**

An alert sends its notifications through the actions named in its `notifiers:` list, where `my_phone` means the `notify.my_phone` action. Spook looks at the notifiers of every alert. When Home Assistant does not have one of them, it raises a repair that names the alert and the missing actions.

Home Assistant does write an error to the log about it, but only at the moment the alert fires. That is a bit late.

## Use cases

What people use this for:

- Renaming the sensor an alert watches. The alert keeps the old name and goes silent. A healthy alert is silent too, so nothing looks wrong.
- Removing or replacing a notify integration. Every alert that named one of its actions keeps firing into the void.


## Sitemap

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