#group notify not working??

1 messages ยท Page 1 of 1 (latest)

vocal sentinel
#

I have tried to add the following block in my configuration.yaml, but no new notification service is available. According to the docs (and all info I find on forums), this should work. I have tried action instead of service but with no luck..

notify:
  - platform: group
    name: "Test_Notification"
    services:
      - service: mobile_app_t14
tawdry bolt
#

restarted HA?

#

looks valid to me, but please format your code correctly to be sure

shell fernBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

charred agate
#

Same issue here, how the hell do you make groups? I have a oneplus 12 & poco F3

vocal sentinel
#

yes restarted HA, no luck..

charred agate
#

notify:

  • platform: group
    name: all_devices
    services:
    • service: mobile_app_oneplus_12
    • service: mobile_app_poco_f3
proper peak
proper peak
vocal sentinel
proper peak
#

Okay

#

This way it looks fine (besides that a group with one member doesn't make much sense to me ๐Ÿ˜‰)

#

Where did you place this code?

vocal sentinel
#

in configuration.yaml

#

Reason is: I want to make my automations independent of my actual phones. Whenever I change phone I need to update multiple automations and scripts. I thought a group could give me a nice way of just changing it once

proper peak
#

Did you already have another section using the notify: key?

#

Back ticks, pointing the other way. And also see the last line of the bot message

#

You can copy-paste the back ticks from the bot message if needed

charred agate
#

notify:
  - platform: group
    name: all_devices
    services:
      - mobile_app_oneplus_12
      - mobile_app_poco_f3

proper peak
#

Anything in the log @vocal sentinel ?

charred agate
#

@proper peak How can I test this in dev tools? How should the exact service be called?

#

notify.all_devices?

vocal sentinel
vocal sentinel
charred agate
#

This action works but no notification

vocal sentinel
#

Guess you tried to restart too?

charred agate
#

Yep

vocal sentinel
proper peak
#

What's the YAML for that one?

charred agate
#

The problem is that no new service is being created

proper peak
#

The screenshot above looks like it's for a notify group called notificationgroup

#

Did you create that one in another part of your configuration?

charred agate
#

That one I have not created

#

It was there already

#

@vocal sentinel Can you create a group from UI in Devices>Helpers?

#

I cannot

proper peak
#

That only works for notify entities, only a few integrations moved to notify entities yet

#

File is one of them

proper peak
charred agate
#

@proper peak So how do you normally group these?

#

I tried in conf.YAML etc

proper peak
#

The only way to group notify services is what you posted above

charred agate
#

Lets see if there are no open issues for this

proper peak
#

Creating the notify group in YAML

#

I have one as well which still works fine on 2024.11.0b2 and never had issues

charred agate
#

Can you try to recreate one for the sake of science ๐Ÿ˜„

proper peak
#
notify:
  - platform: group
    name: all_phones
    services:
      - service: mobile_app_pixel_7_pro
      - service: mobile_app_marleen_app

  - platform: tts
    name: tts_beneden
    tts_service: tts.google_cloud_say
    media_player: media_player.beneden_groep
    
  - platform: group
    name: Test Discord
    services:
      - service: mobile_app_pixel_7_pro
#

Works like a charm

charred agate
#

FF proberen/let me try

proper peak
#

I added the last one, the first two were already there

charred agate
#

I am officially a donkey

#

I was in the wrong configuration.yaml the whole time

#

Retrying

#

It works

#

.<

#


notify:
  - platform: group
    name: "All Devices"
    services:
      - service: mobile_app_oneplus_12
      - service: mobile_app_poco_f3

#

@vocal sentinel I was editing the wrong configuration.yaml

#

Maybe take a step back and make sure you do not make the same mistake

vocal sentinel
#

hehe, I only have one of those files ๐Ÿ˜‰

#

giving up

proper peak
#

Can you post your entire configuration.yaml

proper peak
shell fernBOT
#

Please use a code share site to share code or logs, for example:

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

vocal sentinel