Hi,
I’m trying to figure out how to open specific dashboard when I tap on a notification on my iPhone, here is my automation:
alias: iPhone - person motion detection
description: ''
trigger:
- type: motion
platform: device
device_id: 83c94bbca54802ebecc3b6ae881f2b61
entity_id: binary_sensor.front_door_person_motion
domain: binary_sensor
condition: []
action:
- service: notify.all_ios_devices
data:
title: CCTV
message: Someone is outside your front door
data:
attachment:
content-type: jpeg
push:
category: camera
entity_id: camera.frontdoor
uri: /lovelace/cctv
mode: single
This works great - I get a notification as soon as motion is detected with a picture from that camera. When I tap on the notification it does open the HA app but on whatever was the last open rather then the lovelace/cctv
Where am I going wrong?
Thanks