Integrations

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.

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.

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.

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.

Missing something here?

An action, an entity or a repair this integration should have? Say so. Stuck, or found a bug? There is help.