I want to get notified with both photo and action-buttons when motion is detected in the garage.
I have an IOS identifier, named camera
, which pushes the image OK, but I cannot figure out how to include the action buttons as well.
I want separate actions for the garage and the other cameras.
Notification action
- service: notify.adults
data:
title: Garage
message: Motion in garage
data:
attachment:
content-type: jpeg
push:
category: camera
entity_id: camera.cam_garasje
iOS push
push:
categories:
- name: cameras
identifier: 'camera'
actions:
- identifier: 'TRIGGER_ALARM'
title: 'Trigger alarm'
destructive: true