- alias: Vhod gibanje snapshot desktop
trigger:
platform: state
entity_id: binary_sensor.dlink_senzor
to: 'on'
action:
- service: camera.snapshot
data:
entity_id: camera.vhod
filename: '/xxxx/vhod.jpg'
- service: notify.mobile_app_desktop
data: #_template
message: Gibanje vhod snapshot
data:
attachment:
url: 'https://xxxxxx.xxx/vhod.jpg'
content-type: png
hide-thumbnail: false
I am also using frigate mobile notification blueprint: Frigate Mobile App Notifications