Hi All,
I need your help. I have spent a couple of hours/days trying to get iOS actionable notifications.
I can get the notification with actions, but I click on the action, nothing happens.
If I send the ios.notification_action_fired (directly from the web interface), I can see that the automation is started.
Here is my configuration.yaml
ios:
push:
categories:
- name: stoplight
identifier: stoplight
actions:
- identifier: YES
title: 'Yes'
activationMode: 'background'
authenticationRequired: no
destructive: yes
behavior: 'default'
the automation.yaml is
- alias: LUMIERE - notification pour arreter la gateway
trigger:
- platform: event
event_type: ios.notification_action_fired
event_data:
actionName: YES
action:
service: homeassistant.turn_off
entity_id: light.lumiere_salon
# test Button
- alias: SYSTEME - Test button pour notification
initial_state: 'on'
trigger:
- platform: state
entity_id: input_boolean.test
to: 'on'
action:
- service: light.turn_on
entity_id: light.gateway_light_7811dcb90755
- service: notify.ios_ilaurent_
data:
message: "Are you working from home today?"
data:
push:
badge: 0
category: "stoplight"
Any idea why I am not able to trigger ios.notification_action_fired ?
Thanks a lot for your help.
Laurent