After fighting this for a week I am relenting and asking for help. I am sure someone else has had this problem I just can’t find a recent post about it. So I followed all the guides and have the notification show up on my Iphone, complete with the buttons. However, when I press one nothing happens. I have the automation set up the matches the first button and when I fire it manually it works, ie the lights come on.
So it seems like the event isn’t firing back to HA but I am at a loss why. Here is the relevant configs.
ios:
push:
categories:
- name: "Light Control"
identifier: 'light_notification'
actions:
- identifier: 'LIGHTS_ON'
title: 'Turn the lights back on'
- identifier: 'LIGHTS_OFF'
title: 'Dismiss Alarm'
- id: '1589903784111'
alias: Actionable NOtification Trigger Test
description: ''
trigger:
- entity_id: input_boolean.watching_tv
platform: state
to: 'on'
condition: []
action:
- data:
data:
push:
badge: 0
category: light_notification
message: Would you like the lights back on to eat dinner?
service: notify.mobile_app_the_ping_in_the_north
- id: '1589902329068'
alias: Actionable Notification Test
description: ''
trigger:
- event_data:
actionName: LIGHTS_ON
event_type: ios_notification_action_fired
platform: event
condition: []
action:
- data:
brightness: 10
entity_id: light.living_room_1
service: light.turn_on
- data:
brightness: 40
entity_id: light.living_room_2
service: light.turn_on
- data: {}
entity_id: light.living_room_3
service: light.turn_on
The second option on the notification “dismiss alarm” doesn’t actually do anything yet I was using this as a test.