My requirements are to send iOS notifications when motion is detected in the entry. This works pretty well, but I’d like to offer a snooze option (in case I have lots of traffic, i.e. unloading groceries) where I can pause notifications for, say, 30 minutes, or maybe even enter a custom duration. This general concept is just a starting place for having more advanced, actionable notifications in the future.
Below is my configuration and I’ve made nearly identical edits within the mobile app for an alert category and two actions within the category tailored accordingly. I still don’t see the options on my push notification when I slide to View (screenshot below). I’m also confused how to map another automation actions to trigger the 30 min snooze. Seems like I need to trigger those from the event coming from the iOS device once I can trigger those actions from the notification.
Config being tested in developer tools for service notify.mobile_app_my_iphone
before I migrate to the automation:
title: 'Motion Detected!'
message: 'Location/sensor: Entry'
data:
push:
sound: 'US-EN-Morgan-Freeman-Motion-Detected.wav'
categories:
- name: alert
identifier: 'alert'
actions:
- identifier: 'SNOOZE'
title: 'Snooze for 30 min'
activationMode: 'background'
authenticationRequired: false
destructive: false
behavior: 'default'
- identifier: 'SNOOZE_CUSTOM'
title: 'Snooze for Custom'
activationMode: 'background'
authenticationRequired: false
destructive: false
behavior: 'textInput'
textInputButtonTitle: 'Snooze Duration (min)'
textInputPlaceholder: '60'
Any help is appreciated!