Hi, im verry new to home assistant and have a question about my ring doorbell
I connected it to my google nest speakers so it plays a sound when someone rings my doorbell.
If it works it works great but thats a big if…
It only works 4/10 times. Most of the time noting happens.
I will past the code i have below. Did i do someting wrong or is there a better way to make this happen?
alias: Ring aanbellen, Google speakers all
description: ""
trigger:
- type: occupied
platform: device
device_id: 5c9a6de958ef9cb5e0bfee1a0aa388a9
entity_id: binary_sensor.ring_deurbel_ding
domain: binary_sensor
condition: []
action:
- service: media_player.play_media
target:
entity_id: media_player.google_woonkamer
data:
media_content_id: media-source://media_source/local/purge sound deurbell 15sec(2).mp3
media_content_type: audio/mpeg
metadata:
title: purge sound deurbell 15sec(2).mp3
thumbnail: null
media_class: music
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://media_source
- service: media_player.play_media
target:
entity_id: media_player.google_gang
data:
media_content_id: media-source://media_source/local/purge sound deurbell 15sec(2).mp3
media_content_type: audio/mpeg
metadata:
title: purge sound deurbell 15sec(2).mp3
thumbnail: null
media_class: music
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://media_source
- service: media_player.play_media
target:
entity_id: media_player.google_speaker_zolder
data:
media_content_id: media-source://media_source/local/purge sound deurbell 15sec(2).mp3
media_content_type: audio/mpeg
metadata:
title: purge sound deurbell 15sec(2).mp3
thumbnail: null
media_class: music
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://media_source
- service: media_player.play_media
target:
entity_id: media_player.nestmini0554
data:
media_content_id: media-source://media_source/local/purge sound deurbell 15sec(2).mp3
media_content_type: audio/mpeg
metadata:
title: purge sound deurbell 15sec(2).mp3
thumbnail: null
media_class: music
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://media_source
mode: single