#How to send notifications to multiple device from single automation?

1 messages · Page 1 of 1 (latest)

versed sedge
#

How I can send notification from a single automation to all mobile_app_ targets? or do I have to add every mobile_app separately?

#

basically I want a notification sent to all mobile_app_ targets when a door is opened (via the contact sensor).

fiery slate
#

you can make a notification group and then use the group when you send the notification

#

helpers -> group -> notify group

versed sedge
#

I see. I am not getting auto completion for entities.

#

here.. when I type anything I don't see auto completion

#

how do I know the name of each device?

fiery slate
#

yeah it doesnt work for me either, not sure why

versed sedge
#

I don't even see mobile_app_ stuff in entities or devices? where are they? what do I even type here?

fiery slate
#

notify.mobile_app_ ... should show up

#

okay yeah this is clearly broken

#

@near forge is this a known issue? cant find it on github

near forge
#

For grouping notify services you need to use YAML

#

This is documented

fiery slate
#

lol what

#

doesnt mention that at all

versed sedge
near forge
#

It's linked from those docs

versed sedge
#

it would be nice if the example showed at least 2 items in the group to actually see the syntax.

#

where do I put the YAML? configuration.yaml file?

#

and just to be clear, helper is not what I need for this right?

#

I mean (I think) technically I can keep adding, in the Then do sections, more actions for other devices..

fiery slate
#

it's stupid that this needs YAML, but yeah

#
notify:
  - name: family_phones
    platform: group
    services:
      - service: mobile_app_picard
      - service: mobile_app_worf
      - service: mobile_app_data
#

this should work

near forge
fiery slate
#

for me the list under notify group is also empty

near forge
#

Currently notify entities just have basic features

#

And are not usable by the majority of integrations

#

Currently it's only implemented in ecobee and some others iirc

#

They will be more usable in the future, but there are some things blocking that now

versed sedge
versed sedge
#

can't paste in visual studio code add on..

Unable to read from the browser's clipboard. Please make sure you have granted access for this website to read from the clipboard.
#

I'm on firefox, where is this permission.

#

nvm, I typed manually..

#

looks good?

versed sedge
#

didn't needed notify. removed that.. seem to be working, not everyone is at home ATM so can't confirm for all devices.

fiery slate
#

correct

versed sedge
#

can I make this notification on a separate stream? so I can have a custom notification sound on the phone(s)?

#

I think ATM the notification from automation goes through the General stream (at least in Android)