#Adding duplicate notification to 2nd phone

2 messages · Page 1 of 1 (latest)

shrewd wharf
#

This works with my iPhone 12, and I want to add the same notification to a 2nd phone. Do I need to duplicate the actions section with the new phone (it works), or is there an easier way to combine them such as:

action: notify.mobile_app_iphone_12, notify.mobile_app_iphone_13

Working automation with single notification:

alias: House Alarm triggered (Intruder)
description: House alarm is triggered by intruder
triggers:
  - trigger: state
    entity_id:
      - binary_sensor.house_alarm_intruder
    from: "off"
    to: "on"
actions:
  - data:
      title: House Alarm (Intruder)
      message: House alarm has been triggered by intruder
      data:
        push:
          sound:
            critical: 1
            volume: 1
    action: notify.mobile_app_iphone_12
mode: single
manic vector
#

If you just want to use it in one automation, adding a second action is likely the easiest.
There is also the option to create a notify group in YAML (not the UI one), which creates a single notify action, sending the notification to all group members.
https://www.home-assistant.io/integrations/group/#notify-groups