Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Enhanced integrations

Notify

A message nobody receives is just a thought.

The Home Assistant notify logo



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 enhances the notify integration by raising repairs issues when it finds a notify group that can no longer reach all of its members.

Devices & entitiesΒΆ

Spook does not provide any new devices or entities for this integration.

ActionsΒΆ

Spook does not provide action enhancements for this integration.

RepairsΒΆ

While Spook is floating around in your Home Assistant instance, it will raise repairs issues if it has found something that is not right.

Unknown group membersΒΆ

Every member of a notify group is the name of another notify action, so phone in the configuration means the notify.phone action. Spook inspects every legacy YAML notify group to find members Home Assistant does not have. If Spook finds such a case, it will raise a repair issue, naming the group and the actions that are missing.

The group keeps working, which is the problem. It fires its members off 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. From the outside, the notification went out.

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, names no group, and reads like a bug rather than something you configured, so it is a poor way to discover that one person stopped being notified.

To resolve the raised issue, edit the services: list of that group in your configuration and remove or correct the entries. Spook will automatically remove the repair issue once the issue is fixed.

Use casesΒΆ

Some use cases for the enhancements Spook provides for this integration:

Blueprints & tutorialsΒΆ

There are currently no known blueprints or tutorials for the enhancements Spook provides for this integration. If you created one or stumbled upon one, please let us know in our discussion forums.

Feature requests, ideas, and supportΒΆ

If you have an idea on how to further enhance this integration, for example, by adding a new action, entity, or repairs detection; feel free to let us know in our discussion forums.

Are you stuck using these new features? Or maybe you’ve run into a bug? Please check the Support page on where to go for help.