I am trying to open to a media_source
video via a notification on ios. I have
allowlist_external_dirs:
- "/config/media/"
media_dirs:
local: "/config/media/"
setup in my configuration.yaml
The video does show up in my Media tab in the Home Assistant app and it does allow me to play it when I select it there. However, I am attempting to send a notification to my iphone that, when clicked opens the app and plays the video. This is my test automation:
description: ""
trigger: []
condition: []
action:
- service: camera.record
metadata: {}
data:
duration: 5
lookback: 0
filename: /config/media/test.mp4
target:
entity_id: camera.driveway
enabled: false
- service: notify.mobile_app_shawns_iphone
metadata: {}
data:
title: Test
data:
url: /media/local/test.mp4
message: Test
mode: restart
When I run this, a notification is sent as expected. When I click the notification though, it brings me to a screen with a crossed out play button. I am not quite sure what is going wrong. Thanks for the help!
1 post - 1 participant