Actionable Notifications Aren't Showing on iPhone

I’m stumped. Could someone help me work out why actionable notification buttons aren’t appearing on my iPhone please?

Here is the code:

ios:
  push:
    categories:
      - name: Car Alarm
        identifier: 'car_alarm'
        actions:
          - identifier: 'DISABLE_ALARM'
            title: 'Disable Car Notifications'
            activationMode: 'background'
            authenticationRequired: true
            destructive: true
            behavior: 'default'
          - identifier: 'ENABLE_ALARM'
            title: 'Enable Car Notifications'
            activationMode: 'background'
            authenticationRequired: true
            destructive: false
            behavior: 'default'

automation:
  - alias: 'test ios 2'
    trigger:
      - platform: state
        entity_id: binary_sensor.window_spare_sensor_s2_contact
        from: 'off'
        to: 'on'
    action:
      - service: notify.mobile_app_iphone
        data:
          title: "Testing"
          message: "Test alarm message!"
          data:
            push:
              category: "car_alarm" 
            action_data:
              entity_id: input_boolean.car_disable_notification

  - alias: Disable Car Alarm
    trigger:
      - platform: event
        event_type: ios.notification_action_fired
        event_data:
          actionName: DISABLE_ALARM
    action:
      - service: input_boolean.turn_off
        entity_id: input_boolean.car_disable_notification

Screenshots of the App settings, showing that I have imported the push configuration:
image

Having a similar issue with a door lock. App shows I’ve imported the push settings. But buttons never show!

try this i just tested and is working and if you iphone supports 3d touch press on the notification to show the two actions if your iphone does not supports 3d touch i think you have to swap left or right i hope it helps

ios:
  push:
    categories:
      - name: Car Alarm
        identifier: 'car_alarm'
        actions:
          - identifier: 'DISABLE_ALARM'
            title: 'Disable Car Notifications'
            activationMode: 'background'
            authenticationRequired: true
            destructive: true
            behavior: 'default'
          - identifier: 'ENABLE_ALARM'
            title: 'Enable Car Notifications'
            activationMode: 'background'
            authenticationRequired: true
            destructive: false
            behavior: 'default'

automation:
  - alias: 'test ios 2'
    trigger:
      - platform: state
        entity_id: binary_sensor.window_spare_sensor_s2_contact
        from: 'off'
        to: 'on'
    action:
      - service: notify.mobile_app_iphone
        data:
          title: "Testing"
          message: "Test alarm message!"
          data:
            push:
              category: "car_alarm" 

  - alias: Disable Car Alarm
    trigger:
      - platform: event
        event_type: ios.notification_action_fired
        event_data:
          actionName: DISABLE_ALARM
    action:
      - service: input_boolean.turn_off
        entity_id: input_boolean.car_disable_notification

@kem thank you for your help and suggestion.

It’s certainly strange as I still can’t make the notification show any buttons, even after doing 3D Touch on the message and using the same code you tested above (though I couldn’t see any difference between the two?). I must be doing something else wrong. :thinking:

When you go in the in-app notification editor (the second screenshot in OP) towards the bottom right corner of the screen is an “eye” icon.

Tapping that sends a preview notification, and I’ve found that can sometimes get the buttons to show up initially. Maybe you could try that a few times and hopefully it works.