---
title: "Notify"
description: "Spook tells you when a notify group forwards to notify actions Home Assistant does not have, so everybody keeps getting notified."
canonical_url: "https://spook.boo/notify"
---
# Notify

> Spook tells you when a notify group forwards to notify actions Home Assistant does not have, so everybody keeps getting notified.

The notify integration in Home Assistant sends messages to people. One of the things you can build with it is a notify group: a single action that forwards whatever you send it to a list of other notify actions, so one call reaches everybody.

Spook raises a repair when a notify group can no longer reach all of its members.

> **Note:** This is about the notify group you configure in YAML under `notify:`, the one whose members are action names:
> 
> ```yaml
> notify:
>   - platform: group
>     name: everyone
>     services:
>       - action: phone
>       - action: tablet
> ```
> 
> The newer notify group, the one you create as a helper and whose members are notify entities, is covered by the [Groups](https://spook.boo/group) page instead.

## Repairs

Spook looks through your notify groups for members that no longer exist, and tells you in the repairs dashboard. The repair names the group and what is missing from it.

These groups live in YAML, so fixing one means editing your configuration. Spook looks again once Home Assistant has the change, and takes the repair away by itself. New to repairs? Follow [Fix your first repair](https://spook.boo/fix-your-first-repair).

### Unknown group members

A notify group forwards to a notify action that does not exist anymore, usually because a phone was replaced or an integration removed. Messages sent to the group still reach everyone else, but not that member. You get no error.

**How to fix it:** Open your configuration, find the notify group the repair names, and correct or remove the missing entries in its `services:` list. Then restart Home Assistant so it reads the change. The repair disappears by itself once it is fixed.

**How Spook checks this**

Every member of a notify group is the name of another notify action, so `phone` in the configuration means the `notify.phone` action. Spook looks at the members of every legacy YAML notify group. When Home Assistant does not have one of them, it raises a repair that names the group and the missing actions.

The group keeps working, which is the problem. It starts its members as background tasks and waits on them with `asyncio.wait`, which does not re-raise. So the group action reports success to whatever called it, no matter how many members failed.

The failure is not lost entirely. Nobody reads the task result, so the event loop eventually reports it as a stray `Task exception was never retrieved`. That arrives whenever the task happens to be collected, and names no group. It reads like a bug, not like something you configured.

Spook looks again whenever an integration loads, and whenever an action is added or removed.

## Use cases

What people use this for:

- Replacing a phone, and with it the notify action it was set up under. Every group that still names the old one keeps sending into nothing.
- Removing a notify integration you no longer use. The groups that forwarded to it do not tell you they lost a member.


## Sitemap

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