I’m getting the notification just fine but it’s not showing the action as an option. Push settings and everything is updated.
configuration.yaml
push:
categories:
- name: Garage_open
identifier: 'GARAGE1'
actions:
- identifier: 'CLOSE_GARAGE' ## this must point to an action ##
title: 'Close the Garage Door'
I found I had better luck both restarting Home assistant and updating push settings in the app for my changes to take effect took awhile but I did finally get buttons to show up.
Did you change it in both the config file and the push: category: in the automation? That’s really the only thing I see wrong with it. Below is a working setup that I am currently using:
Configuration:
ios:
push:
categories:
- name: door
identifier: 'lock'
actions:
- identifier: 'UNLOCK_DOOR'
title: 'Yes'
activationMode: 'background'
authenticationRequired: no
destructive: yes
behavior: 'default'
- identifier: 'DISMISS'
title: 'Dismiss'
activationMode: 'background'
authenticationRequired: no
destructive: no
behavior: 'default'
Automation:
alias: Unlock When Home
trigger:
platform: state
entity_id: input_boolean.ios_home
to: 'on'
action:
- service: notify.ios_michael_iphone
data_template:
message: 'Unlock Front Door?'
data:
push:
category: 'lock'
Just to be sure: if you are in the lock screen you have to swipe the notification to the left and open the notification.
In the normal screen you have to swipe down the notification.
Only that way the actions are shown.