Ios notification to more than one phone

Hello,
at the moment I have an automation which notify me only via ios App:

- id: '1544280061852'
  alias: Lavatrice OFF
  trigger:
  - below: '2'
    entity_id: sensor.lavatrice_watts
    platform: numeric_state
  condition:
  - condition: state
    entity_id: input_boolean.washingmachine_status
    state: 'on'
  action:
  - data:
      entity_id: input_boolean.washingmachine_status
    service: input_boolean.turn_off
  - data_template:
      message: La lavatrice ha finito. Ora puoi stendere il bucato
      title: Bucato Terminato
    service: notify.ios_mauros_iphone

I would like to add other phone but I am wandering if I have to add another

- data_template
or another action

Sorry but I haven’t yet understood how ios notifcation must be configured in automation.

Thank You

Regards

M.

If you always want this message to go to both phones you could add a notify group and message that.

e.g.

In configuration.yaml

notify:
  - platform: group
    name: all_ios_devices
    services:
      - service: ios_mauros_iphone
      - service: ios_other_phone

Then in your automation:

  action:
  - data:
      entity_id: input_boolean.washingmachine_status
    service: input_boolean.turn_off
  - data_template:
      message: La lavatrice ha finito. Ora puoi stendere il bucato
      title: Bucato Terminato
    service: notify.all_ios_devices ### <--------- sends to both phones  ###