Hello HAS,
I setup my Synology Home Assistant for auto turn on-off a light and to let the dog bark when there is movement. I need help with this last part, the dog barks but the volume level doesn’t work.
What I would like it to do is the following, the Dog volume to the max, after the mp3 is finished the dog volume back to normal and return to radio station before the dog bark.
Any help is appreciated.
- action:
- alias: media_player.woonkamer
data:
entity_id: media_player.woonkamer
media_content_id: http://192.168.1.15:8123/local/dog.mp3
media_content_type: MUSIC
service: media_player.play_media
action:
service: media_player.volume_set
data:
entity_id: media_player.woonkamer
volume_level: 0.75
alias: Dog Bark
id: '1498996958911'
trigger:
- entity_id: sensor.aeotec_zw100_multisensor_6_burglar
from: '0'
platform: state
to: '8'