I try to start an automation that casts an image from my doorbell to my google nest hub.
But this is not working.
description: ""
mode: single
trigger:
- platform: state
entity_id:
- binary_sensor.doorbell_motion_detected
- binary_sensor.doorbell_person_detected
- switch.doorbell_motion_detection
- camera.doorbell
from: null
condition: []
action:
- service: media_player.play_media
target:
entity_id: media_player.living_room_display
data:
media_content_type: image
media_content_id: "{{ states('image.doorbell_event_image') }}"
alias: test doorbel image
My living room display indicates that a stream is starting but no image is displayed.
i can see the image in my browser but it seems like i can not cast it.
Anybody got an idea on how to do this?