Notification groups - critical alerts

I’m trying to get the critical alerting to work with the use of notification groups and android devices.

notify:
  - name: ALL_SMARTPHONES
    platform: group
    services:
      - service: mobile_app_sm_g998b
        data:
          ttl:: 0
          priority: high

So far I don’t have the feeling this works. When testing this action inside the automations the notification only appears when I turn on the screen on my android samsung S21

I’m wondering if this configuration is supported or not

Thank you

This works for me. Notice the differences in the data key.

- name: not_critical
  platform: group
  services:
    - service: mobile_app_pixel_2
      data:
        data:
          # the ttl, priority, and channel settings override DND on phone
          ttl: 0
          priority: high
          channel: alarm_stream
    - service: mobile_app_pixel_5a_dev
      data:
        data:
          ttl: 0
          priority: high
          channel: alarm_stream

this is great, thank you

my working code now

notify:
  - name: ALL_SMARTPHONES
    platform: group
    services:
      - service: mobile_app_sm_g998b
        data:
          data:
            ttl:: 0
            priority: high
      - service: mobile_app_iphone_van_ann_sophie
        data:
          data:
            push:
              sound:
                name: default
                critical: 1
                volume: 1