Title and subtitle in push notifications

Is title and subtitle supported in the new app?

data:
message: “Test”
data:
subtitle: “Subtitle goes here”

I receive the notification with the message but no subtitle?

Subtitle is working for me without a problem. Make sure your YAML is properly indented?

yaml looks like this

  - alias: Notify iOS app
    trigger:
      - platform: state
        entity_id: media_player.kkken
        from: 'paused'
        to: 'playing'
    action:
      service: notify.ios_jespersiphone
      data:
        message: "testing notify"
        data:
          title: "title"
          data:
            subtitle: "subtitle"
            data:
              message: "message"
              data:  
                push:
                  badge: 1

Neither title, subtitle or push Works. Only the message.

Way too many data:'s. This works:

- alias: Notify iOS app
  trigger:
    - platform: state
      entity_id: media_player.kkken
      from: 'paused'
      to: 'playing'
  action:
    service: notify.ios_jespersiphone
    data:
      title: "title"
      message: "testing notify"
      data:
        subtitle: "subtitle"
        push:
          badge: 1
1 Like

Yes now it Works :slight_smile:
But how come that subtitle must have its own “data”?
Why exactly subtitle and not title or message?
What are the rules for this?

subtitle has to be under data because Home Assistant only accepts title, message, target and data for notify services. If I had it my way I would let you put everything at the top :slight_smile:

That could have been nice :slight_smile:
For rookies like me, is it possible to read about these “rules/restrictions” somewhere?