Is it possible to use notify groups together with actionable notifications

Hi

I want to use actionable notifications to a notify group. Is that possible? I can get the actionable notifications working to a single iPhone and I can get normal notifications to work with the notify group, but it does not work when I combine the two.

Code in configuration.yaml:

notify:
  - platform: group
    name: notify_all
    services:
      - service: notify_mobile_app_tarrild_iphone_xr
      - service: notify_mobile_app_gittes_iphone

Code in automations.yaml:

- id: '1640188739630'
  alias: Test2
  description: ''
  trigger:
  - platform: time
    at: '17:00'
  condition: []
  action:
  - service: notify.notify_all
    data:
      data:
        actions:
        - action: DISABLE
          title: Disable
        - action: ENABLE
          title: Enable
      message: Test2ny
  mode: single

When this executes I get the following errors in the log:

Logger: homeassistant
Source: core.py:1442 
First occurred: 19. december 2021 10.54.29 (20 occurrences) 
Last logged: 17.25.42

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1442, in async_call
    raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service notify.notify_mobile_app_gittes_iphone

Is it possible to use notify groups together with actionable notifications? And if yes what am I doing wrong?

BR Christian

I think you’ve created the notify group wrongly. The “notify_” should not be included in the service. See example here: Introduction | Home Assistant Companion Docs

For the rest of the question I don’t know.

3 Likes

I think I have read that several times, also as solution to other threads, but before I moved the group to configuration.yaml (I wrongly had it in groups.yaml initially). I removed the “notify_” and it now works :slight_smile: Thanks!