I solved this by using an automation…
alias: Klingel
description: ''
trigger:
- platform: state
from: 'off'
to: 'on'
entity_id: binary_sensor.klingelsensor_state
condition: []
action:
- service: camera.snapshot
data:
entity_id: camera.cam_eingang_profile1
filename: /config/www/doorbell.jpg
- service: notify.mobile_app_ANDROID
data:
message: Jemand hat geklingelt
data:
image: https://serverurl/local/doorbell.jpg
actions:
- action: open_door
title: Tür Öffnen
- action: show_cam
title: Kamera Öffnen
- service: notify.mobile_app_IOS
data:
title: Es klingelt...
message: Jemand an der Tür
data:
push:
category: klingel_ios
attachment:
url: https://serverurl/local/doorbell.jpg
mode: single
Hope this helps