I’m having a problem getting the action to show. The other one above it works fine. Activate and Deactivate alarm. I copied as I thought from there, but I cant get it to trigger the actionable text. I get the notification though.
Any help is massivly appreciated
push:
categories:
- name: Alarm
identifier: 'alarm'
actions:
- identifier: 'ACTIVATE_ALARM'
title: 'Activate Alarm'
activationMode: 'background'
authenticationRequired: yes
destructive: yes
behavior: 'default'
- identifier: 'DE-ACTIVATE_ALARM'
title: 'De-Activate Alarm'
activationMode: 'background'
authenticationRequired: yes
destructive: yes
behavior: 'default'
- name: garage_left_open_30_min
identifier: 'garage_left_open_30'
actions:
- identifier: 'CLOSE_GARAGE'
title: 'Close Garage'
activationMode: 'background'
destructive: yes
behavior: 'default'
- id: garage_left_open
alias: 'Garage Left Open'
trigger:
- platform: state
entity_id: cover.garage_door
to: 'open'
for:
minutes: 30
- platform: event
event_type: timer.finished
event_data:
entity_id: timer.garage_left_open
condition:
condition: state
entity_id: cover.garage_door
state: 'open'
action:
- service: timer.start
entity_id: timer.garage_left_open
- service: notify.notify
data:
title: 'Garage Left Open 30 Min'
message: 'The Garage Door Has Been Open For 30 Min'
data:
push:
badge: 0
category: "garage_left_open_30"
- id: garage
alias: Garage
trigger:
platform: event
event_type: ios.notification_action_fired
event_data:
actionName: CLOSE_GARAGE
action:
- service: cover.close_cover
entity_id: cover.garage_door