Questions about notifications, and specifically about notify groups, have been asked before quite frequently. The subject causes a lot of consternation among newcomers like myself. I find it frustrating that there is no clear overview in the docs, a blueprint of how the pieces work together. So I resort to Reddit and this community forum to fill the gaps, and find mostly outdated info or non-answers.
So bear with me if I have to ask a question again that was asked before.
I want to do something very simple - create a notify group with 2 devices and notify the group if the door was left open.
I found that this page in the docs is most relevant for this.
I also use this page from the companion app docs for an example of how to use text-to-speech.
In configuration.yaml I have this notify group:
- name: all_targets
platform: group
services:
- action: mobile_app_lenovo_tb125fu
- action: mobile_app_pixel_9_pro_xl
and I want to use it in this action:
automation "Door Open":
trigger:
- platform: state
entity_id: binary_sensor.door_sensor_2
to: "on"
action:
- action: notify.all_targets
data:
message: TTS
data:
ttl: 0
priority: high
media_stream: alarm_stream_max
tts_text: "Please stop leaving the door open"
This configuration loads fine, but it does not work. When I trigger the event, I get the error
automation 0: Error executing script. Service not found for call_service at pos 1: Action notify.all_targets not found
I have tried lots of variations, with/without underscore, caps, quotes around the name, rearranged how things are defined, but no luck. I removed the TTS stuff and send a simple message, I get the same error.
When I replace notify.all_targets
in the action with notify.mobile_app_pixel_9_pro_xl
, it works beautifully.
Folks are using this feature, so it can’t be broken. I must be missing something, or the docs are missing something. Does this work with groups or not?
And I am on HA 2025.3.3 still but looked at the release notes for 3.4 and did not see any changes related to notify groups.