Actionable notification not working

Hallo.

I really hope some one can help, because this have been working before. But now it’s not working.
I’m not getting the buttons on the actionable notifications, i am getting the notification, but on the button.

this is the configuration:

ios:
  push:
    categories:
      - name: Nobody home
        identifier: 'NOBODY_HOME'
        actions:
          - identifier: 'LOCK_HOUSE'
            title: 'Nej, lås huset'
            activationMode: 'background'
            authenticationRequired: no
            destructive: yes
            behavior: 'default'
      - name: Unlock home
        identifier: 'UNLOCK_HOME'
        actions:
          - identifier: 'UNLOCK_HOUSE'
            title: 'ja, lås huset op'
            activationMode: 'background'
            authenticationRequired: yes
            destructive: no
            behavior: 'default'

And this is the scrip sending the notification, and i am getting the notification fine, but theres is no button.

sequence:
  - service: notify.ios_mikkels_iphone
    data:
      message: 'Alarm er blev sat. Skal den slukkes igen?'
      data:
        push:
          category: 'UNLOCK_HOME'

Can some help, what i am doing wrong.

haven’t played with this yet but the doc seems to offer more options:


you may need to investigate what these do and if you need them:
  • badge
  • category
  • action_data

My bet would be on the last. To have a button, you’d need an action to associate the push of the button with. just my 2 cents

i got it working, by deleting all my own actions. and copying the one from the example, don’t know why that worked but it did

im having a hard time with this 2 can you please post your working config thanks

this worked for me

ios:
  push: 
    categories:
      - name: PUSH.CAT.ALARM.TRIGGERED
          identifier: 'alarm_actions'
          actions:
            - identifier: 'ALARM_OFF'
              title: 'Ja, sluk for alarmen'
              activationMode: 'background'
              authenticationRequired: yes
              destructive: yes
              behavior: 'default'

and the automation send a notification

- alias: NOTIFY.PUSH.MIKKEL.HOME
  trigger:
    platform: state
    entity_id: device_tracker.mikkelsiphone
    to: 'home'
  condition:
    condition: and
    conditions:
      - condition: state
        entity_id: input_boolean.home
        state: 'off'
  action:
    service: notify.ios_mikkels_iphone
    data:
      message: 'Velkommen hjem, skal huset låses op'
      data:
        push:
          category: 'unlock_house'