Notify Group not showing as service

Quick question. How do I get a group of phones show up as a notify service?

At the moment, I can get the push notification to the group by using notify.notify service.

But how can I can create services like, notify.ios_phones and notify.android_phones?

my configuration.yaml:


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
notify: !include notify.yaml

and the notify.yaml:

ios_phones:
- name: ios_phones
  platform: group
  services:
  - service: mobile_app_iphone1
  - service: mobile_app_iphone2
  - service: mobile_app_iphone3

At the moment, using notify.notify service works. but I’d like to create a service notify.ios_phones.

Thanks

That looks correct. Did you restart after creating the notification group?

1 Like

That was a simple solution. I didn’t know I need to restart the hassio to take effect. However, with the ios_phones: in the beginning of notify.yaml broke the notify after the restart – all the notify.phones disappeared.

I got it working by just writing this in the notify.yaml:

 - name: ios_phones
  platform: group
  services:
  - service: mobile_app_iphone1
  - service: mobile_app_iphone2
  - service: mobile_app_iphone3

then restart, and the notify.ios_phones service showed up.

Thanks!

1 Like