• 0 Posts
  • 2 Comments
Joined 1 年前
cake
Cake day: 2023年6月25日

help-circle
  • mojo17@lemmy.worldtohomeassistant@lemmy.worldUpdating notifications
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    7 个月前

    I use the notify service with a group platform. This way you add and remove devices in one place only. Here’s how I set it up in configuration.yaml:

    notify:
      - name: notify_all_devices
        platform: group
        services:
          - service: mobile_app_pixel_6_pro
          - service: mobile_app_pixel_3_xl
    

    In my automation triggers, I simply call my notify_all_devices service.