• 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: June 25th, 2023

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

    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.