Notify group including multiple Alexa

I’ve got a notify group containing my Pushover service and Alexa (as media player).

When the notify is triggered, Pushover works but Alexa does not.

Alexa works fine in a rule so the service itself is functioning, but that rule notifies a single Alexa device. The point of this notification group is to make it easier to send notifications to multiple Alexa devices.

I noticed some forum posts state the service should be notify.alexa_media, but if I use that the configuration fails validation with:

Invalid config for [notify.group]: invalid slug notify.alexa_media (try notify_alexa_media) for dictionary value @ data[‘services’][1][‘service’]. Got ‘notify.alexa_media’. (See ?, line ?).

So the service is named as below - notify_alexa_media which is accepted by validation.

  - name: PushoverAlexa
    platform: group
    services:
      - service: pushover
      - service: notify_alexa_media
        data:
          target:
            - media_player.lounge_echo_dot
            - media_player.kitchen_echo_dot
          data:
            type: tts

If it’s useful, this is the button I’m using to trigger the notification for testing.

show_name: false
show_icon: true
type: button
entity: ''
name: Alexa
icon: mdi:checkbox-intermediate
hold_action:
  action: none
show_state: false
tap_action:
  action: call-service
  service: notify.pushoveralexa
  service_data:
    message: I am a test
  target: {}

The intended use of this is in a ‘garage door left open’ alert. Like the button test, this works fine (the repeat is set to 1 minute for testing). Pushover alerts repeat but nothing from Alexa.

garage_door:
  name: Garage door is open
  entity_id: binary_sensor.garage_door_open
  state: "on"
  repeat: 1
  can_acknowledge: false
  skip_first: true
  title: "Garage door"
  message: >
    The garage door has been left open
  done_message: "The garage door is now closed"
  notifiers:
    - PushoverAlexa

Any suggestions would be much appreciated!

You need to leave the notify out…

- name: PushoverAlexa
  platform: group
  services:
    - service: pushover
    - service: alexa_media
      data:
        target:
          - media_player.lounge_echo_dot
          - media_player.kitchen_echo_dot
        data:
          type: tts
1 Like

I thought that didn’t work but I must have had something else wrong somewhere.

After trying many approaches, I ended up with a working solution which turned out to match yours!

Thanks very much.