HA-NotifyHelper: send notifications to all mobile devices of a person at once and display notifications on a custom Lovelace card

To send notifications to all of a person’s mobile devices, we usually need to create a group through configuration.yaml.

I developed a custom integration to simplify this process, allowing you to send notifications to all of a person’s mobile devices at once and display them on a custom Lovelace card. For more detailed usage instructions, please check my repository.

Below is an automation example of sending notifications to people at home

alias: Send notification to person at home
description: ""
triggers: []
conditions: []
actions:
  - variables:
      person: |
        {{ state_attr('zone.home','persons') }}
  - action: notify.notify_person
    metadata: {}
    data:
      message: xxxxx
      targets: |
        {{person}}
mode: single

I am a beginner in programming, so if there’s anything that needs improvement, feel free to provide feedback or submit a PR.