#Group notification (multiple phones)

1 messages · Page 1 of 1 (latest)

storm imp
#

Can someone please post an updated YAML code for setting up a notify group of two phones? I am confused at the documentation and I understand the WebUI Helper group code isn't updated for mobile apps yet.

2024-09-24 09:52:43.586 ERROR (MainThread) [homeassistant.config] Invalid config for 'notify' from integration 'group' at configuration.yaml, line 137: invalid slug device_tracker.iphone_firstname (try device_tracker_iphone_firstname) for dictionary value 'services->0->action', got 'device_tracker.iphone_firstname', please check the docs at https://www.home-assistant.io/integrations/group

golden wraith
#

it's telling you that you've specified the entire entity_id rather than just the object_id (the part after the dot):
device_tracker.iphone_firstname

#

you also can't send a notification to a device_tracker

#

you send it to the notify service for the mobile phone, and you just provide the part after the dot

storm imp
#

Thank you! Oh I see why it wasn't working. It needs to be all lowercase in YAML. If my mobile device is named iPhone Firstname, how would I make it work? I tried putting double quotes around it to no avail.

mobile_app_iphone_firstname did not work

mobile_app_iphone firstname did not work

"mobile_app_iphone firstname" did not work

golden wraith
#

Go into devtools -> Actions and start typing notify. to see what it's called

#

First one should be correct, so 'did not work' needs explanation

storm imp
#

Let me see if there are any errors. It just didn't come in on my device (the one with the space in its name.)

golden wraith
#

Don't put spaces in the name

#

That's why I said the first one

storm imp
#

Got it. It worked now! I think I needed to restart home assistant not just reload config for some reason

golden wraith
#

If it's your first one, yes

storm imp
#

Thank you very much! Hopefully the WebUI helper will be updated with mobile app support soon enough. So we can ditch the manual typing

golden wraith
#

Yeah, I don't know what's going on with that. Seems like it should work