Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106277

iPhone notification

$
0
0

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

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106277

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>